Zum Hauptinhalt springen

Tree-Item

Weitere Informationen zum Tree finden Sie auf der .

Weitere Informationen zum Tree finden Sie auf der .

Properties

PropertyAttributeDescriptionTypeDefault
_active_activeIf set (to true) the tree item is the active one.boolean | undefinedundefined
_href (required)_hrefDefines the target URI of the link.stringundefined
_label (required)_labelDefines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).stringundefined
_open_openOpens/expands the element when truthy, closes/collapses when falsy.boolean | undefinedundefined

Methods

collapse

collapse() => Promise<void>

Returns

Type: Promise<void>

expand() => Promise<void>

Returns

Type: Promise<void>

Returns

Type: Promise<void>

isOpen() => Promise<boolean>

Returns

Type: Promise<boolean>