GhostTreeGroup reference
Package: @ghostvue/vue. Status: experimental (stability policy).
Nested role="group" child container (default <ul>) inside a GhostTreeItem. Registering it makes the item a branch. Reuses GhostCollapsible disclosure mechanics: hidden while collapsed (deferred until the themed height transition ends), aria-labelledby to the item trigger.
Generated from the component manifest. Edit the manifest or Vue source, then rebuild the docs.
Props
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
as | GhostTreeGroupElement | "ul" | No | Tag name or component rendered for the `role="group"` child container. |
disableAnimation | boolean | false | No | Skips themed height transitions (`data-animation="off"`). |
Emits
None declared.
Models
None declared.
Slots
| Name | Description |
|---|---|
default | Child GhostTreeItem nodes. |
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 | group | role="group" child container rendered by GhostTreeGroup. |
data-state | open | Owning branch is expanded. |
data-state | closed | Owning branch is collapsed. |
data-animation | off | Set when disableAnimation is true; themed height transitions are skipped. |
CSS variables
None declared.
Accessibility
Role: group. APG pattern: https://www.w3.org/WAI/ARIA/apg/patterns/treeview/.
Required ARIA attributes: none.
Keyboard
| Key | Action | Automated browser test |
|---|---|---|
Tab | Never a tab stop; navigation is owned by GhostTree. | GhostTree @component:GhostTree › tree/basic: one Tab stop, every documented key, and Axe in both states (@ghostvue/vue) |
Verification
Each category is reviewed separately. Automated keyboard and axe results do not attest manual or assistive-technology review.
| Category | Status | Evidence |
|---|---|---|
| Automated keyboard | Passed | Every declared key maps to a Chromium browser test that CI runs and requires to pass on every commit. |
| Manual interaction | Not reviewed | No review recorded. |
| Assistive technology | Not reviewed | No review recorded. |
Examples
None declared.