Interface: ITreeProps
Properties
activeKey
• Optional
activeKey: UniqueId
Defined in
className
• Optional
className: string
Defined in
data
• Optional
data: ITreeNodeItemProps
<any
>[]
Defined in
draggable
• Optional
draggable: boolean
Defined in
expandKeys
• Optional
expandKeys: UniqueId
[]
Defined in
loadedKeys
• Optional
loadedKeys: string
[]
Defined in
Methods
onDropTree
▸ Optional
onDropTree(source
, target
): void
Parameters
Name | Type |
---|---|
source | ITreeNodeItemProps <any > |
target | ITreeNodeItemProps <any > |
Returns
void
Defined in
onExpand
▸ Optional
onExpand(expandedKeys
, node
): void
Parameters
Name | Type |
---|---|
expandedKeys | Key [] |
node | ITreeNodeItemProps <any > |
Returns
void
Defined in
onLoadData
▸ Optional
onLoadData(node
): Promise
<void
>
Parameters
Name | Type |
---|---|
node | ITreeNodeItemProps <any > |
Returns
Promise
<void
>
Defined in
onRightClick
▸ Optional
onRightClick(e
, node
): void
Parameters
Name | Type |
---|---|
e | MouseEvent <HTMLDivElement , MouseEvent > |
node | ITreeNodeItemProps <any > |
Returns
void
Defined in
onSelect
▸ Optional
onSelect(node
, isUpdate?
): void
Parameters
Name | Type |
---|---|
node | ITreeNodeItemProps <any > |
isUpdate? | any |
Returns
void
Defined in
onTreeClick
▸ Optional
onTreeClick(): void
Returns
void
Defined in
renderTitle
▸ Optional
renderTitle(node
, index
, isLeaf
): string
| Element
Parameters
Name | Type |
---|---|
node | ITreeNodeItemProps <any > |
index | number |
isLeaf | boolean |
Returns
string
| Element