KeystrokeHandlerOptions
interface
set
method options.
Properties
-
filter : ( keyEvtData: KeyboardEvent ) => boolean | undefined
readonlymodule:utils/keystrokehandler~KeystrokeHandlerOptions#filter
An optional callback function allowing for filtering keystrokes based on arbitrary criteria. The callback function receives
keydown
DOM event as a parameter. -
priority : PriorityString | undefined
readonlymodule:utils/keystrokehandler~KeystrokeHandlerOptions#priority
The priority of the keystroke callback. The higher the priority value the sooner the callback will be executed. Keystrokes having the same priority are called in the order they were added.