Interface: TreeChangeHandlers<T>
Type parameters
Name | Type |
---|---|
T | any |
Hierarchy
TreeChangeHandlers
Properties
onAbortRenamingItem
• Optional
onAbortRenamingItem: (item
: TreeItem
<T
>, treeId
: string
) => void
Type declaration
▸ (item
, treeId
): void
Parameters
Name | Type |
---|---|
item | TreeItem <T > |
treeId | string |
Returns
void
Defined in
onCollapseItem
• Optional
onCollapseItem: (item
: TreeItem
<T
>, treeId
: string
) => void
Type declaration
▸ (item
, treeId
): void
Parameters
Name | Type |
---|---|
item | TreeItem <T > |
treeId | string |
Returns
void
Defined in
onDrop
• Optional
onDrop: (items
: TreeItem
<T
>[], target
: DraggingPosition
) => void
Type declaration
▸ (items
, target
): void
Parameters
Name | Type |
---|---|
items | TreeItem <T >[] |
target | DraggingPosition |
Returns
void
Defined in
onExpandItem
• Optional
onExpandItem: (item
: TreeItem
<T
>, treeId
: string
) => void
Type declaration
▸ (item
, treeId
): void
Parameters
Name | Type |
---|---|
item | TreeItem <T > |
treeId | string |
Returns
void
Defined in
onFocusItem
• Optional
onFocusItem: (item
: TreeItem
<T
>, treeId
: string
, setDomFocus?
: boolean
) => void
Type declaration
▸ (item
, treeId
, setDomFocus?
): void
Parameters
Name | Type |
---|---|
item | TreeItem <T > |
treeId | string |
setDomFocus? | boolean |
Returns
void
Defined in
onMissingChildren
• Optional
onMissingChildren: (itemIds
: TreeItemIndex
[]) => void
Type declaration
▸ (itemIds
): void
Parameters
Name | Type |
---|---|
itemIds | TreeItemIndex [] |
Returns
void
Defined in
onMissingItems
• Optional
onMissingItems: (itemIds
: TreeItemIndex
[]) => void
Type declaration
▸ (itemIds
): void
Parameters
Name | Type |
---|---|
itemIds | TreeItemIndex [] |
Returns
void
Defined in
onPrimaryAction
• Optional
onPrimaryAction: (items
: TreeItem
<T
>, treeId
: string
) => void
Type declaration
▸ (items
, treeId
): void
Parameters
Name | Type |
---|---|
items | TreeItem <T > |
treeId | string |
Returns
void
Defined in
onRegisterTree
• Optional
onRegisterTree: (tree
: TreeConfiguration
) => void
Type declaration
▸ (tree
): void
Parameters
Name | Type |
---|---|
tree | TreeConfiguration |
Returns
void
Defined in
onRenameItem
• Optional
onRenameItem: (item
: TreeItem
<T
>, name
: string
, treeId
: string
) => void
Type declaration
▸ (item
, name
, treeId
): void
Parameters
Name | Type |
---|---|
item | TreeItem <T > |
name | string |
treeId | string |
Returns
void
Defined in
onSelectItems
• Optional
onSelectItems: (items
: TreeItemIndex
[], treeId
: string
) => void
Type declaration
▸ (items
, treeId
): void
Parameters
Name | Type |
---|---|
items | TreeItemIndex [] |
treeId | string |
Returns
void
Defined in
onStartRenamingItem
• Optional
onStartRenamingItem: (item
: TreeItem
<T
>, treeId
: string
) => void
Type declaration
▸ (item
, treeId
): void
Parameters
Name | Type |
---|---|
item | TreeItem <T > |
treeId | string |
Returns
void
Defined in
onUnregisterTree
• Optional
onUnregisterTree: (tree
: TreeConfiguration
) => void
Type declaration
▸ (tree
): void
Parameters
Name | Type |
---|---|
tree | TreeConfiguration |
Returns
void