W3cubDocs

/Dojo

dojo/_base/event

Summary

This module defines dojo DOM event API. Usually you should use dojo/on, and evt.stopPropagation() + evt.preventDefault(), rather than this module.

See the dojo/_base/event reference documentation for more information.

Methods

fix(evt,sender)

Defined by dojo/_base/event

normalizes properties on the event object including event bubbling methods, keystroke normalization, and x/y positions

Parameter Type Description
evt Event

native event object

sender DOMNode

node to treat as "currentTarget"

Returns: Event

native event object

stop(evt)

Defined by dojo/_base/event

prevents propagation and clobbers the default action of the passed event

Parameter Type Description
evt Event

The event object. If omitted, window.event is used on IE.

© 2005–2017 JS Foundation
Licensed under the AFL 2.1 and BSD 3-Clause licenses.
http://dojotoolkit.org/api/1.10/dojo/_base/event.html