Skip to main content

Tree

shadow

Element Tree umožňuje hierarchické zobrazovanie dát v stromovej štruktúre. Používa sa na vizualizáciu kategórií, súborových systémov alebo navigačných štruktúr. Tree obsahuje wje-tree ako hlavný kontajner a wje-tree-item ako jednotlivé položky stromu. Položky môžu obsahovať deti, čím vytvárajú vnorenú hierarchiu.

Základné použitie

Multiple

TO DO complete tree and tree item docs

Atribúty a Vlastnosti

multiple

DescriptionAn attribute that determines whether multiple sections can be expanded at the same time.
Attributemultiple
Typeboolean
Default0

Index

DescriptionAn attribute that sets the initial index of the extended section.
AttributeIndex
Typenumber
Default1000

Eventy

NameDescription
wje-accordion-item:openIt is emitted when the accordion item is opened.

Metódy

collapseAll

DescriptionCollapses all accordion items except the one specified as the exception.
Signature(exception: HTMLElement) => Promise<void>

getAccordions

DescriptionSearch for all Accordion components within a group.
SignaturegetAccordions() => Accordion[]

CSS Shadow Parts

No CSS shadow parts available for this component.

CSS Custom Vlastnosti

No CSS custom properties available for this component.

Sloty

No slots available for this component.