init

jQuery.caph.focus. init

Initializes focusable elements.

(static) init(configopt)

Parameters:
Name Type Attributes Description
config function <optional>

A callback function to configure provider settings. This function has two arguments. The first parameter is a nearestFocusableFinderProvider. The second parameter is a controllerProvider.

Example
$(document).ready(function() {
 	$.caph.focus.init(function(nearestFocusableFinderProvider, controllerProvider) {
 		// provider configuration 
 	});
 });