Skip to content

GhostContextMenu reference ​

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

Provides open state and a pointer anchor for a context menu with flat or nested file and item actions.

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

All component references

Props ​

NameTypeDefaultRequiredDescription
defaultOpenbooleanfalseNoDeclared prop `defaultOpen`.
openboolean—NoDeclared prop `open`.

Emits ​

None declared.

Models ​

PropEventTypeDescription
openupdate:openbooleanv-model binding for `open`.

Slots ​

NameDescription
defaultContainer content.

Slot props: default ​

NameTypeDescription
close() => voidSlot prop `close`.
openbooleanSlot prop `open`.

Exposed members ​

None declared.

Parts and data attributes ​

AttributeValueDescription
data-partrootNeutral content container.

CSS variables ​

None declared.

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

context-menu/themed ​

Example source

File actions

Right-click a file row or press Shift+F10 to duplicate, pin, open, or change row density, with each outcome announced.

Project files1 pinned
  • Q3 launch brief.md Pinned Markdown · 14 KB · Updated 2h ago
  • Token audit.csvSpreadsheet · 48 KB · Updated yesterday
  • Release checklist.mdMarkdown · 8 KB · Updated Nov 12
Right-click any file row or press Shift+F10 for actions.