mirror of
https://github.com/flynx/PortableMag.git
synced 2025-10-28 10:40:07 +00:00
minor updates...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
10ce03ebdf
commit
1c45aed85f
@ -127,18 +127,21 @@ var KEYBOARD_HANDLER_PROPAGATE = true
|
||||
* ...
|
||||
* }
|
||||
*
|
||||
* <key-def> can be:
|
||||
* - explicit key code
|
||||
* - key name, if present in _SPECIAL_KEYS)
|
||||
* - key char (uppercase), as is returned by String.fromCharCode(...)
|
||||
*
|
||||
* <key-def> can be:
|
||||
* - explicit key code, e.g. 65
|
||||
* - key name, if present in _SPECIAL_KEYS, e.g. Enter
|
||||
* - key char (uppercase), as is returned by String.fromCharCode(...) e.g. A
|
||||
*
|
||||
*
|
||||
* NOTE: to rest what to use as <key-def> use toKeyCode(..) / toKeyName(..).
|
||||
* NOTE: all fields are optional.
|
||||
* NOTE: if a handler explicitly returns false then that will break the
|
||||
* event propagation chain and exit the handler.
|
||||
* i.e. no other matching handlers will be called.
|
||||
* NOTE: a <css-selector> is used as a predicate to select a section to
|
||||
* use. if multiple selectors match something then multiple sections
|
||||
* will be resolved in order of occurance.
|
||||
* will be resolved in order of occurrence.
|
||||
*
|
||||
* XXX might need to add meta information to generate sensible help...
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user