Skip to content

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.

All component references

Props ​

NameTypeDefaultRequiredDescription
disabledbooleanfalseNoExcludes this trigger from roving focus, typeahead, and activation.

Emits ​

None declared.

Models ​

None declared.

Slots ​

NameDescription
defaultPrimary content.

Slot props: default ​

None declared.

Exposed members ​

None declared.

Parts and data attributes ​

AttributeValueDescription
data-partsub-triggerButton 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 ​

KeyActionAutomated browser test
EnterOpens the child and focuses the first enabled item.nested context menu restores the invoking row and navigates locally in ltr @cross-browser (@ghostvue/themes)
SpaceOpens the child and focuses the first enabled item.nested context menu restores the invoking row and navigates locally in ltr @cross-browser (@ghostvue/themes)
ArrowRightOpens the child in LTR layouts.nested context menu restores the invoking row and navigates locally in ltr @cross-browser (@ghostvue/themes)
ArrowLeftOpens 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.

CategoryStatusEvidence
Automated keyboardPassedEvery declared key maps to a Chromium browser test that CI runs and requires to pass on every commit.
Manual interactionNot reviewedNo review recorded.
Assistive technologyNot reviewedNo review recorded.

Examples ​

None declared.