DropDownsPopupSettings
The settings of the popup container.
Definition
Package:@progress/kendo-vue-dropdowns
Properties
anchor?
string | HTMLElement
Sets the anchor element of the Popup (see example). The Popup opens next to this element.
Accepts an HTMLElement, a ref name, or an id.
''
anchorAlign?
Align
Sets the point of the anchor to which the Popup aligns (see example).
{ horizontal: 'left', vertical: 'bottom' }
animate?
boolean | PopupAnimation
Controls the popup animation. By default, the open and close animations are enabled.
appendTo?
string | HTMLElement
Sets the container to which the Popup is appended. Accepts an HTMLElement, a ref name, or an id.
When you do not set it, the Popup is appended to the body element.
''
ariaDescribedBy?
string
Sets the aria-describedby attribute of the Popup element. Use the id of the element that describes the Popup.
ariaLabelledBy?
string
Sets the aria-labelledby attribute of the Popup element. Use the id of the element that labels the Popup.
className?
string | string[]
Specifies a list of CSS classes that will be added to the Popup element.
collision?
Collision
Sets the collision behavior of the Popup (see example).
{ horizontal: 'fit', vertical: 'flip' }
direction?
string
Sets the direction of the slide animation.
down
height?
string
Sets the height of the popup container. By default, the height is 200px.
id?
string
Sets the id of the root element of the Popup.
margin?
{ horizontal?: number; vertical?: number }
Sets the horizontal and vertical margin between the Popup and its anchor in pixels.
offset?
Offset
Sets the absolute position of the Popup (see example). The Popup opens next to this point.
The popupAlign setting sets the point of the Popup that aligns to the offset. The Popup uses the window viewport for boundary detection.
{ left: -1000, top: 0 }
onClose?
(event: CloseEvent) => void
Fires after the Popup closes.
onMousedownoutside?
(event: MouseDownOutsideEvent) => void
Fires when the user presses the mouse button outside the Popup.
onOpen?
(event: OpenEvent) => void
Fires after the Popup opens and the opening animation ends.
onPosition?
(event: PositionEvent) => void
Fires after the Popup calculates its position.
popupAlign?
Align
Sets the point of the Popup that aligns to the anchor (see example).
{ horizontal: 'left', vertical: 'top' }
popupClass?
string | string[] | { [key: string]: boolean }
Sets a list of CSS classes on the inner k-popup element (see example).
popupStyle?
string
Sets the styles that will be added to the popup element.
positionMode?
"fixed" | "absolute"
Sets the CSS position of the Popup.
The supported values are:
absolutefixed
role?
string
Sets the role attribute of the Popup element.
scale?
number
Sets the document scale that the Popup uses to calculate its position.
style?
any
Sets the styles of the Popup.
width?
string
Sets the width of the popup container. By default, the width of the host element is used.