Gets the key map.
(static) getKeyMap() → {Object}
Returns:
The key map object which consists of 'LEFT', 'RIGHT', 'UP', 'DOWN' and 'ENTER'.
- Type
- Object
Example
angular.module('myApp', ['caph.focus']).controller('myController', ['$scope', 'focusController', function($scope, focusController) {
console.log(focusController.getKeyMap());
}]);