getKeyMap

jQuery.caph.focus.controllerProvider. 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
$(document).ready(function() {
 	$.caph.focus.init(function(nearestFocusableFinderProvider, controllerProvider) {
 		console.log(controllerProvider.getKeyMap());
 	});
 });