Dispatcher


Definition

The dispatcher is responsible for dispatching the event to the handler(s). A handler has to be registered first to receive an event from diputree.

Diagram

diputree dispatchers

onstart, onstop, onload, onunload, onclick, ondblclick, onmouseover, onmouseout and onkeypress

Script access to dispatchers

remove the onclick dispatcher

 var docElement = "#/1";
 var xptr = "#xpointer(hasdispatcher/onclick)";

 diputree.unbindAll(docElem, xptr);

 


diputree documentation © 2000 dipu