vKey

vKey - directive to listen to keyboard events and run some JavaScript when they’re triggered.

@safe
T
vKey
(
T : DH5Obj
)
(
T h5
,
string value
,
string[] modifiers = null
)

Parameters

h5 T

HTML5 Obj

modifiers string[]

"enter", "tab", "delete", "esc", "space", "up", "down", "left", "right" or keycode also possible to use system keys "ctrl", "alt", "shift", "meta" or in combination with keycode

Examples

Meta