GhostCommandPaletteList reference
Package: @ghostvue/vue. Status: experimental (stability policy).
In-flow listbox inside the content (no portal or floating positioning). Labelled by the input, aria-busy while loading, and drops the listbox role while empty and not loading. Pressing its chrome keeps focus on the input.
Generated from the component manifest. Edit the manifest or Vue source, then rebuild the docs.
Props
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
as | GhostCommandPaletteListElement | "div" | No | Tag name or component rendered for the listbox. |
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
| Attribute | Value | Description |
|---|---|---|
data-part | list | Listbox with class ghost-command-palette-list and data-part="list"; scrolls in the themed recipe. |
CSS variables
None declared.
Accessibility
Role: listbox. APG pattern: https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-autocomplete-list/.
Required ARIA attributes: aria-labelledby, aria-busy.
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.