Gets the current focus DOM element.
(static) getCurrentFocusItem() → {DOMElement}
Returns:
- Type
- DOMElement
Example
angular.module('myApp', ['caph.focus']).controller('myController', ['$scope', 'focusController', function($scope, focusController) {
$scope.currentFocusItem = focusController.getCurrentFocusItem();
}]);