Event Handling in ArcGIS for JavaScript

ArcGIS for JavaScript is a mature and powerful framework for creating interactive maps and layers. Your map can respond to users easily by leveraging the robust collection of ArcGIS events. Just about every widget or module comes with a set of events that are easy to hook up.

Since the ArcGIS for JavaScript API is asynchronous, an event-driven approach is encouraged. Operations do not finish immediately or in sequence, so you must listen for information to determine when an object is ready. The event model is flexible and intuitiveā€”events are very simple to register and you may keep track of multiple handlers for the same event.  Continue reading “Event Handling in ArcGIS for JavaScript”