• Overview
@angular/aria/tree

TreeItem

directive

A selectable and expandable Tree Item in a Tree.

API

    
      class TreeItem<V> extends DeferredContentAware implements OnInit ,OnDestroy ,HasElement {}
    
    

element

any

The host native element.

value

any

The value of the tree item.

parent

any

The parent tree root or tree item group.

disabled

any

Whether the tree item is disabled.

selectable

any

Whether the tree item is selectable.

label

any

Optional label for typeahead. Defaults to the element's textContent.

searchTerm

any

Search term for typeahead.

tree

Signal<Tree<V>>

The tree root.

ngOnInit

void
@returnsvoid

ngOnDestroy

void
@returnsvoid

register

void
@paramgroupTreeItemGroup<V>
@returnsvoid

unregister

void
@returnsvoid
Jump to details