bindMouseEvent

caph.focus.FocusUtil. bindMouseEvent

Attaches mouse events (such as mouseover, mouseout and click) handler to the given element.

(static) bindMouseEvent(item, callback) → {caph.focus.FocusUtil}

Parameters:
Name Type Description
item DOMElement | jQuery

The target object.

callback function

An event handler.

Returns:
Type
caph.focus.FocusUtil