An optional event to signal that an element or root has changed.
This will trigger the view to update the changed element/root and its children recursively (if shown).
To signal that root has changed, do not pass any argument or pass undefined or null.
Get the children of element or root if no element is passed.
The element from which the provider gets children. Can be undefined.
Children of element or root if no element is passed.
Optional method to return the parent of element.
Return null or undefined if element is a child of root.
NOTE: This method should be implemented in order to access reveal API.
The element for which the parent has to be returned.
Parent of element.
A data provider that provides tree data