enable

jQuery.caph.focus.controllerProvider.controller. enable

Enables the given item. The 'disabled' class is removed.

(static) enable(itemopt) → {jQuery.caph.focus.controllerProvider.controller}

Parameters:
Name Type Attributes Description
item DOMElement | string <optional>

A DOM element to be enabled. If the string value is passed, it represents the name of the focusable. If not passed anything else, enables the current focus item.

Returns:
Type
jQuery.caph.focus.controllerProvider.controller
Example
function enable(name) {
 	$.caph.focus.controllerProvider.getInstance().enable(name);
 }