Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Index

On this page

Function: attachDOMEvent

Attach user-defined event handler for any DOM event for an element.

Parameters: Object (HTML element), Event object, function (handler), boolean (useCapture)

Returns: Nothing

Note: The fourth argument, useCapture, is optional and will default to false.