getKeyMap

caph.focus.focusControllerProvider. getKeyMap

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']).config(['focusControllerProvider', function(focusControllerProvider) {
 	console.log(focusControllerProvider.getKeyMap());
 }]);