setInitialDepth

caph.focus.focusControllerProvider. setInitialDepth

Sets the initial depth.

(static) setInitialDepth(depth) → {caph.focus.focusControllerProvider}

Parameters:
Name Type Description
depth number

A number to be initial depth.

Returns:
Type
caph.focus.focusControllerProvider
Example
angular.module('myApp', ['caph.focus']).config(['focusControllerProvider', function(focusControllerProvider) {
 	focusControllerProvider.setInitialDepth(1);
 }]);