new SelectManyTree(elem)
Creates component instance.
Parameters:
Name | Type | Description |
---|---|---|
elem |
DOMElement | The element. |
Members
$dom :jQuery
The DOM element of component.
Type:
$tree :jQuery
The tree rendering root.
Type:
initializing :boolean
The flag whether initialization is in progress.
Type:
- boolean
(nullable) jstree :Object
The JSTree API.
Type:
- Object
name :string
The input name (NGE data property).
Type:
tree :Object
The initial tree data (NGE data property).
Type:
- Object
Methods
(static) init(elem)
Initializes component.
Parameters:
Name | Type | Description |
---|---|---|
elem |
DOMElement | The element. |
onDeselectNode(event, The)
Invoked when node is being deselected.
Parameters:
Name | Type | Description |
---|---|---|
event |
jQuery.Event | The event. |
The |
Object | JSTree object. |
onReady(event, The)
Invoked when JSTree initialization completed.
Parameters:
Name | Type | Description |
---|---|---|
event |
jQuery.Event | The event. |
The |
Object | JSTree object. |
onSelectNode(event, The)
Invoked when node is being selected.
Parameters:
Name | Type | Description |
---|---|---|
event |
jQuery.Event | The event. |
The |
Object | JSTree object. |