Skip to content

GhostContextMenu reference ​

Package: @ghostvue/themes. Status: experimental (stability policy).

Themed wrappers around headless GhostContextMenu parts. Importing from @ghostvue/themes loads the default elevation-3 menu surface and item stylesheet.

Generated from the component manifest. Edit the manifest or Vue source, then rebuild the docs.

All component references

Props ​

None declared.

Emits ​

None declared.

Models ​

None declared.

Slots ​

NameDescription
defaultContainer content.

Slot props: default ​

None declared.

Exposed members ​

NameTypeDescription
elementHTMLElement | nullRoot element after mount; null before mount.

Parts and data attributes ​

AttributeValueDescription
data-partrootNeutral content container.

CSS variables ​

NameDescription
--ghost-surface-fgInherited text color.

Accessibility ​

Role: generic. APG pattern: https://www.w3.org/WAI/ARIA/apg/.

Required ARIA attributes: none.

Keyboard ​

None declared.

Verification ​

Each category is reviewed separately. Automated keyboard and axe results do not attest manual or assistive-technology review.

CategoryStatusEvidence
Automated keyboardNot reviewedNo declared key is mapped to a browser test yet.
Manual interactionNot reviewedNo review recorded.
Assistive technologyNot reviewedNo review recorded.

Examples ​

context-menu/basic ​

Example source

Basic Headless

Headless context menu on a row target with items, checkbox, radio group, label, separator, and disabled item.

Right-click this row for actions