In order to connect to events in dojo editor one has to pass the "events" argument while creating the dojo editor.Value of the argument should be the array of events which user would like to connect to.
For example to connect to "onmousedown".
var editor = new dijit.editor({events:["onmousedown"]});
....
....
dojo.connect(editor,"onMouseDown",function(evt){console.log("onMouseDown from dojo editor"});
Tuesday, September 1, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment