RichTreeViewSlots

external interface RichTreeViewSlots : TreeViewSlots(source)

Properties

Link copied to clipboard
abstract external var collapseIcon: ElementType<*>?

The default icon used to collapse the item.

Link copied to clipboard
abstract external var endIcon: ElementType<*>?

The default icon displayed next to an end item. This is applied to all Tree Items and can be overridden by the TreeItem icon slot prop.

Link copied to clipboard
abstract external var expandIcon: ElementType<*>?

The default icon used to expand the item.

Link copied to clipboard
abstract external var itemLoader: ElementType<*>?

Component rendered for each loading row. It also renders for the children of an item while they load lazily. Wrap custom content in TreeItemLoader to keep the row semantically correct.

Link copied to clipboard
abstract external var loading: ElementType<*>?

Component rendered instead of the default loading rows. It renders inside the tree root while the tree is loading, which keeps the role="tree" and aria-busy attributes, and inside a lazily loading item while its children load. Compose it with TreeItemLoader to keep the rows semantically correct.

Link copied to clipboard
abstract external var root: ElementType<*>?

Element rendered at the root.