Functiondijit._Templated._attachTemplateNodes

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

Map widget properties and functions to the handlers specified in the dom node and it's descendants. This function iterates over all nodes and looks for these properties: dojoAttachPoint dojoAttachEvent waiRole waiState

Usage

function (/*DomNode*/ rootNode, /*Function?*/ getAttrFunc) (view source)
parametertypedescription
rootNodeDomNodethe node to search for properties. All children will be searched.
getAttrFuncFunctionOptional. a function which will be used to obtain property for a given DomNode/Widget