Sets the initial depth.
(static) setInitialDepth(depth) → {jQuery.caph.focus.controllerProvider}
Parameters:
Name | Type | Description |
---|---|---|
depth |
number | A number to be initial depth. |
Returns:
Example
$(document).ready(function() {
$.caph.focus.init(function(nearestFocusableFinderProvider, controllerProvider) {
controllerProvider.setInitialDepth(1);
});
});