dojo/_base/event contains the legacy API for managing DOM events and is deprecated. For handling DOM events, you should use dojo/on instead.


As with the rest of dojo/_base modules, if you are running the Dojo loader in legacy mode (async: false) this module is automatically loaded. Even if it is automatically loaded, you should require it in to have access to its features:

require(["dojo/_base/event"], function(event){
  // event now contains the modules features


Simply calls evt.preventDefault() and evt.StopPropagation().


Performs various normalization on event object.

See also

Error in the documentation? Can’t find what you are looking for? Let us know!