AnsweredAssumed Answered

Does the JavaScript API support event handling via "on" method?

Question asked by jacobsj on Aug 21, 2012
Latest reply on Feb 5, 2013 by s.junggeosecure-de-esridist
The dojo/on module has replaced the dojo.connect method as the preferred way to handle events in Dojo.  I am able to get the "on" method to work with DOM events (e.g., HTML button click), but I can't get it to work with any of the ArcGIS JavaScript API classes' events.

Is there a way to use the on method with the ArcGIS JavaScript API events?  (If so, can you provide an example?)

Outcomes