Options for the keyboard navigation handler.
Members
-
init :function
-
Function to run on initialization of module.
Type:
- function
-
keyCodeMap :Array.<Array.<Array.<number>, function()>>
-
An array containing pairs of an array of keycodes, mapped to a handler function. When the keycode is received, the handler is called with the keycode as parameter.
Type:
- Array.<Array.<Array.<number>, function()>>
-
terminate :function|undefined
-
Function to run before moving to next/prev module. Receives moving direction as parameter: +1 for next, -1 for previous.
Type:
- function | undefined
-
validate :function|undefined
-
Function to run to validate module. Should return false if module should not run, true otherwise. Receives chart as parameter.
Type:
- function | undefined