Name

DOM Mouse Events

Synopsis

Event type: (From DOM Level 2 Events)
Event target element: most elements
Bubbles: Yes
Cancelable: Yes (except mousemove)

Mouse events, especially click, should be avoided whenever possible. These events can’t be reliably used in XForms, since there’s no guarantee that a DOM will be present, or that the device rendering XForms will even have a mouse. Instead, device-independent events, such as DOMActivate, should be used.

Get XForms Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.