Popover
Represents the Kendo UI for Vue Popover component. Accepts properties of type PopoverProps.
Definition
Package:@progress/kendo-vue-tooltip
Properties Interface:PopoverProps
Syntax:
<Popover
:anchor="anchorElement"
:show="show"
:position="'bottom'"
:title="'Confirm payment'"
>
Do you want to pay invoice #INV-2041?
<PopoverActionsBar>
<Button :theme-color="'primary'" @click="onPay">Pay</Button>
<Button @click="onCancel">Cancel</Button>
</PopoverActionsBar>
</Popover>
Properties
anchor?
HTMLElement
Sets the element that the Popover uses as its anchor. When the Popover closes, it moves focus back to this element.
animate?
boolean | PopupAnimation
Sets the animation of the Popover (see example).
Accepts a boolean or a PopoverAnimation object.
appendTo?
HTMLElement
Sets the container to which the Popover is appended.
autoFocus?
boolean
Sets if the Popover moves focus to its first focusable element when it opens.
true
callout?
boolean
Sets if the Popover shows a callout (see example).
true
className?
string | string[] | { [key: string]: boolean }
Sets CSS classes on the animation container of the Popover.
Sets how the Popover behaves when it does not fit in the viewport (see example).
{ horizontal: 'none', vertical: 'none' }
contentStyle?
CSSProperties
Sets the styles of the Popover body element.
id?
string
Sets the id of the Popover element. The Popover also uses it to build the id values
of its title and body, which it sets as its aria-labelledby and aria-describedby values.
When you do not set it, the Popover generates a unique id.
Sets the margin between the Popover and its anchor in pixels.
When you do not set it and callout is true, the Popover adds space for the callout.
Sets the absolute position of the Popover.
onClose?
(event: PopoverCloseEvent) => void
Fires after the Popover closes.
onKeydown?
(event: PopoverKeyDownEvent) => void
Fires when the user presses Esc while the focus is inside the Popover.
onOpen?
(event: PopoverOpenEvent) => void
Fires after the Popover opens.
onPosition?
(event: PopoverPositionEvent) => void
Fires after the Popover calculates its position.
popoverClass?
string | string[] | { [key: string]: boolean }
Sets CSS classes on the Popover element.
Sets the position of the Popover relative to its anchor (see example).
top
Sets the positioning mode of the Popover.
fixed
scale?
number
Sets the document scale that the Popover uses to calculate its position (see example).
show?
boolean
Sets if the Popover is visible.
false
style?
CSSProperties
Sets the styles of the animation container of the Popover.
title?
string | VNode<RendererNode, RendererElement, { [key: string]: any }> | () => VNode<RendererNode, RendererElement, { [key: string]: any }>
Sets the title of the Popover. Accepts a string, a VNode, or a function that returns a VNode.
The Popover uses the title element as its aria-labelledby value.
References
Represents the Popover component instance.