This is a base class for dijit/tree/_dndSelector, and isn't meant to be used directly. It's modeled after dojo/dnd/Container.
Parameter | Type | Description |
---|---|---|
tree | Node | Node or node's id to build the container on |
params | Object | A dict of parameters, which gets mixed into the object |
See the dijit/tree/_dndContainer reference documentation for more information.
The currently hovered TreeNode. Not set to anything for keyboard operation. (TODO: change?)
Adds a class with prefix "dojoDndItem"
Parameter | Type | Description |
---|---|---|
node | Node | A node |
type | String | A variable suffix for a class name |
Changes a named state to new state value
Parameter | Type | Description |
---|---|---|
type | String | A name of the state to change |
newState | String | new state |
Removes a class with prefix "dojoDndItem"
Parameter | Type | Description |
---|---|---|
node | Node | A node |
type | String | extension |
Called when mouse is moved away from a TreeNode
Parameter | Type | Description |
---|---|---|
widget | TreeNode | |
evt | Event |
Called when mouse is moved over a TreeNode
Parameter | Type | Description |
---|---|---|
widget | TreeNode | |
evt | Event |
This function is called once, when mouse is out of our container
This function is called once, when mouse is over our container