isFocusWhenDisabled

caph.focus.focusControllerProvider. isFocusWhenDisabled

Gets the current status about whether set the focus when the target is disabled or not.

(static) isFocusWhenDisabled() → {boolean}

Returns:

If true, will set focus when the focusable element is disabled.

Type
boolean
Example
angular.module('myApp', ['caph.focus']).config(['focusControllerProvider', function(focusControllerProvider) {
 	console.log(focusControllerProvider.isFocusWhenDisabled());
 }]);