new TreeNode()
The store holding general data for folders. The properties are read-only.
- See:
-
- React AIOT TreeNode documentation for properties and defaults
Members
(async) applyChildrenOrder
(Pro only) Apply an order to the childrens.
- Since:
- 4.4
(async) applyOrder
(Pro only) Apply an order to the folder content.
(async) setName
Rename folder.
(async) trash
Permanently delete folder.
Methods
setter(callback, setHashopt)
Update this node attributes.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
callback |
function | The callback with one argument (node draft) | |
setHash |
boolean |
<optional> |
If true the hash node is changed so a rerender is forced |
toggleChecked()
Update the checked flag.
visible(boolean)
Toggle the view of this folder.
Parameters:
Name | Type | Description |
---|---|---|
boolean |
state |
- Since:
- 4.0.9