Skip to content

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.

All component references

Props ​

NameTypeDefaultRequiredDescription
asGhostTreeGroupElement"ul"NoTag name or component rendered for the `role="group"` child container.
disableAnimationbooleanfalseNoSkips themed height transitions (`data-animation="off"`).

Emits ​

None declared.

Models ​

None declared.

Slots ​

NameDescription
defaultChild GhostTreeItem nodes.

Slot props: default ​

None declared.

Exposed members ​

NameTypeDescription
blur() => voidExposed method `blur`.
elementHTMLElement | nullExposed property `element`.
focus(options?: FocusOptions) => voidExposed method `focus`.

Parts and data attributes ​

AttributeValueDescription
data-partgrouprole="group" child container rendered by GhostTreeGroup.
data-stateopenOwning branch is expanded.
data-stateclosedOwning branch is collapsed.
data-animationoffSet 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 ​

KeyActionAutomated browser test
TabNever 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.

CategoryStatusEvidence
Automated keyboardPassedEvery declared key maps to a Chromium browser test that CI runs and requires to pass on every commit.
Manual interactionNot reviewedNo review recorded.
Assistive technologyNot reviewedNo review recorded.

Examples ​

None declared.