Puts the focusable element by setting the given option. In normal case, this method is called internally only. But, if you use this method directly, don't forget to bind all focusable related events.
(static) $$put(focusable, option) → {jQuery.caph.focus.nearestFocusableFinderProvider.nearestFocusableFinder}
Parameters:
Name | Type | Description |
---|---|---|
focusable |
DOMElement | jQuery | A focusable element. |
option |
Object | The focusable options such as depth, group, name and so on. |
Returns:
Example
$.caph.focus.nearestFocusableFinderProvider.getInstance().$$put($('[focusable]')[0], {
depth: 10,
group: 'group1',
name: 'test1'
});