Tuesday, June 11, 2013

Destroy a DOM element in Dojo 1.9.

Per this the following with do way with a DOM node in Dojo:

require(["dojo/dom-construct"], function(domConstruct){
   domConstruct.destroy("someId");
});

No comments:

Post a Comment