Skip to content
On this page

VToggletip

Props

NameTypeDescription
anchorEnum:
string
HTMLElement
ID or direct reference to the component's anchor element.
aria-currentEnum:
page
step
location
date
time
true
false
Indicates the element that represents the current item within a container or set of related elements.
headlinestringthe optional title of the toggletip
alternatebooleantoggle color scheme
placementEnum:
top
right
bottom
left
top-start
top-end
right-start
right-end
bottom-start
bottom-end
left-start
left-end
placement of the toggletip
openbooleanindicates whether the toggletip is open

Events

NameEvent TypeDescription
clickMouseEventFires when a pointing device button (such as a mouse's primary mouse button) is both pressed and released while the pointer is located inside the element.
focusFocusEventFires when the element receives focus.
blurFocusEventFires when the element loses focus.
keydownKeyboardEventFires when a key is pressed.
keyupKeyboardEventFires when a key is released.
inputEventFires when the value of an element has been changed.

Slots

NameDescription
defaultThe content to display in the toggletip.
anchorUsed to set the anchor element for the toggletip.
action-itemsThe content to display in the toggletip action items.

Methods

NameTypeDescription
openChanged(oldValue: boolean,newValue: boolean) => void