VTooltip
Props
| Name | Type | Description |
|---|---|---|
| anchor | Enum: string HTMLElement | ID or direct reference to the component's anchor element. |
| aria-current | Enum:pagesteplocationdatetimetruefalse | Indicates the element that represents the current item within a container or set of related elements. |
| text | string | the text of the tooltip accepts string |
| placement | Enum:toprightbottomlefttop-starttop-endright-startright-endbottom-startbottom-endleft-startleft-end | |
| open | boolean |
Events
| Name | Event Type | Description |
|---|---|---|
| click | MouseEvent | Fires 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. |
| focus | FocusEvent | Fires when the element receives focus. |
| blur | FocusEvent | Fires when the element loses focus. |
| keydown | KeyboardEvent | Fires when a key is pressed. |
| keyup | KeyboardEvent | Fires when a key is released. |
| input | Event | Fires when the value of an element has been changed. |
Slots
| Name | Description |
|---|---|
| anchor | Used to set the anchor element for the tooltip. |