Constructordijit._tree.dndContainer

dojo.require("dijit._tree.dndContainer");
defined in dijit/_tree/dndContainer.js

a constructor of the Container

Usage

function (/*Node*/ tree, /*Object*/ params) (view source)
parametertypedescription
treeNodenode or node's id to build the container on
paramsObjecta dict of parameters, which gets mixed into the object

Jump to PropertiesFunctionsBack to top

returns a data item by its key (id) console.log("Container getItem()", arguments,this.map, this.map[key], this.selection[key]);
FunctionmarkupFactory(tree, params)
event processor for onmouseout
event processor for onmouseover
this function is called once, when mouse is out of our container
this function is called once, when mouse is over our container
Function_addItemClass(node: Node, type: String)
adds a class with prefix "dojoDndItem"
Function_changeState(type: String, newState: String)
changes a named state to new state value
gets a child, which is under the mouse at the moment, or null
removes a class with prefix "dojoDndItem"

Jump to FunctionsPropertiesBack to top

node or node's id to build the container on