getData

jQuery.caph.focus.Util. getData

Gets the focusable related data from the given item's data object.

(static) getData(item) → {Object}

Parameters:
Name Type Description
item DOMElement | jQuery

The target object. If target object is an instance of jQuery, gets from the first element in the set of matched elements.

Returns:

Returns a focusable data object. If the given item is not focusable, returns null.

Type
Object