Skip to main content

UseTreeState<T>

UseTreeState<T> = object

Type Parameters

T

T

Properties

actions

actions: object

collapseAll()

collapseAll: () => void

Returns

void

expandAll()

expandAll: () => void

Returns

void

hideAll()

hideAll: () => void

Returns

void

onExpandedChange()

onExpandedChange: (keys) => void

Parameters
keys

Set<Key>

Returns

void

onSelectionChange()

onSelectionChange: (keys) => void

Parameters
keys

Selection

Returns

void

onVisibilityChange()

onVisibilityChange: (keys) => void

Parameters
keys

Set<Key>

Returns

void

revealAll()

revealAll: () => void

Returns

void

selectAll()

selectAll: () => void

Returns

void

unselectAll()

unselectAll: () => void

Returns

void


dragAndDropConfig

dragAndDropConfig: DragAndDropConfig


nodes

nodes: TreeNode<T>[]