GhostContextMenuContent reference
Package: @ghostvue/vue. Status: experimental (stability policy).
Menu surface anchored to the invoking target, with local item navigation and shared submenu support.
Generated from the component manifest. Edit the manifest or Vue source, then rebuild the docs.
Props
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
as | GhostContextMenuContentElement | "div" | No | Declared prop `as`. |
flip | boolean | GhostContextMenuFlipOptions | true | No | Declared prop `flip`. |
offset | boolean | GhostContextMenuOffsetOptions | — | No | Declared prop `offset`. |
placement | Placement | "bottom-start" | No | Declared prop `placement`. |
portal | boolean | true | No | Declared prop `portal`. |
portalTo | GhostPortalTarget | "body" | No | Declared prop `portalTo`. |
shift | boolean | GhostContextMenuShiftOptions | true | No | Declared prop `shift`. |
strategy | Strategy | "fixed" | No | Declared prop `strategy`. |
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
None declared.
CSS variables
None declared.
Accessibility
Role: menu. APG pattern: https://www.w3.org/WAI/ARIA/apg/patterns/menubar/.
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.
| 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.