GhostSubmenuTrigger reference
Package: @ghostvue/vue. Status: experimental (stability policy).
Menu item that opens and labels its child menu.
Generated from the component manifest. Edit the manifest or Vue source, then rebuild the docs.
Props
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
disabled | boolean | false | No | Excludes this trigger from roving focus, typeahead, and activation. |
Emits
None declared.
Models
None declared.
Slots
| Name | Description |
|---|---|
default | Primary content. |
Slot props: default
None declared.
Exposed members
None declared.
Parts and data attributes
| Attribute | Value | Description |
|---|---|---|
data-part | sub-trigger | Button that opens the child menu. |
CSS variables
None declared.
Accessibility
Role: menuitem. APG pattern: https://www.w3.org/WAI/ARIA/apg/patterns/menubar/.
Required ARIA attributes: aria-haspopup, aria-expanded, aria-controls.
Keyboard
| Key | Action | Automated browser test |
|---|---|---|
Enter | Opens the child and focuses the first enabled item. | nested context menu restores the invoking row and navigates locally in ltr @cross-browser (@ghostvue/themes) |
Space | Opens the child and focuses the first enabled item. | nested context menu restores the invoking row and navigates locally in ltr @cross-browser (@ghostvue/themes) |
ArrowRight | Opens the child in LTR layouts. | nested context menu restores the invoking row and navigates locally in ltr @cross-browser (@ghostvue/themes) |
ArrowLeft | Opens the child in RTL layouts. | nested context menu restores the invoking row and navigates locally in rtl @cross-browser (@ghostvue/themes) |
Verification
Each category is reviewed separately. Automated keyboard and axe results do not attest manual or assistive-technology review.
| Category | Status | Evidence |
|---|---|---|
| Automated keyboard | Passed | Every declared key maps to a Chromium browser test that CI runs and requires to pass on every commit. |
| Manual interaction | Not reviewed | No review recorded. |
| Assistive technology | Not reviewed | No review recorded. |
Examples
None declared.