dojo._base.event¶
Status: | Draft |
---|---|
Version: | 1.2 |
Available: | since V0.3 |
dojo._base.event contains functions to handle DOM events.
As with all dojo._base components, these functions are included within Dojo Base. You get this functionality by just including dojo.js or dojo.xd.js in your page.
Features¶
Dojo’s DOM Event Listener
TODO: explain DOM event listener in detail
- add
- remove
dojo.fixEvent
Normalizes properties on the event object including event bubbling methods, keystroke normalization, and x/y positions
dojo.stopEvent
Prevents propagation and clobbers the default action of the passed event
-
Definitions for common key values
Migration issues¶
Since V0.9 most of the functionality from the dojo.event package has moved to dojo base so it is always available. Users of older releases will find more details within the Dojo Porting Guide: 0.4x to 0.9.x.