TreeNode

class ui.tree.TreeNode()

This class represent a node in a hoops-tree.

TreeNode

Index

Constructors

Properties

Constructors

ui.tree.TreeNode.constructor()
TreeNode(): TreeNode

Returns: TreeNode

Properties

ui.tree.TreeNode.expanded
expanded: boolean

Whether the node is expanded or not

ui.tree.TreeNode.key
key: number

The id of the node in the tree.

ui.tree.TreeNode.leaf
leaf: boolean

Wheteher or not a node is a leaaf.

ui.tree.TreeNode.selected
selected: boolean

Whether the node is selected or not

ui.tree.TreeNode.tree

optional

The context of the hoops-tree