GhostTooltipTrigger reference
Package: @ghostvue/vue. Status: experimental (stability policy).
Hover/focus trigger anchoring supplemental tooltip content.
Generated from the component manifest. Edit the manifest or Vue source, then rebuild the docs.
Props
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
as | GhostTooltipTriggerElement | "button" | No | Tag name or component rendered for the trigger control. |
disabled | boolean | false | No | Prevents scheduling show on hover or focus when `true`. |
Emits
None declared.
Models
None declared.
Slots
| Name | Description |
|---|---|
default | Primary content. |
Slot props: default
None declared.
Exposed members
| Name | Type | Description |
|---|---|---|
blur | () => void | Exposed method `blur`. |
element | HTMLElement | null | Exposed property `element`. |
focus | (options?: FocusOptions) => void | Exposed method `focus`. |
Parts and data attributes
| Attribute | Value | Description |
|---|---|---|
data-part | trigger | Trigger element marked with data-part="trigger". |
data-state | open | Tooltip is open. |
data-state | closed | Tooltip is closed. |
CSS variables
None declared.
Accessibility
Role: button. APG pattern: https://www.w3.org/WAI/ARIA/apg/patterns/tooltip/.
Required ARIA attributes: aria-describedby.
Keyboard
| Key | Action | Automated browser test |
|---|---|---|
Tab | Moves focus to the trigger and schedules the tooltip after delayDuration. | Not reviewed |
Verification
Each category is reviewed separately. Automated keyboard and axe results do not attest manual or assistive-technology review.
| Category | Status | Evidence |
|---|---|---|
| Automated keyboard | Not reviewed | No declared key is mapped to a browser test yet. |
| Manual interaction | Not reviewed | No review recorded. |
| Assistive technology | Not reviewed | No review recorded. |
Examples
None declared.