Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 8.0

Index

On this page

You are viewing documentation of version 8.0, which is not included in the latest version. Click here to open the index page for version 18.0.

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.