[]
Document Solutions Image Viewer - v8.0.0 / WindowKeyboardListener
Window keyboard listener handler interface.
• onKeyDown: (e
: KeyboardEvent
, params
: { alt
: boolean
; ctrl
: boolean
; shift
: boolean
; space
: boolean
}) => any
▸ (e
, params
): any
Called when key pressed.
Name | Type |
---|---|
e |
KeyboardEvent |
params |
Object |
params.alt |
boolean |
params.ctrl |
boolean |
params.shift |
boolean |
params.space |
boolean |
any
• onKeyUp: (e
: KeyboardEvent
, params
: { alt
: boolean
; ctrl
: boolean
; shift
: boolean
; space
: boolean
}) => any
▸ (e
, params
): any
Called when key released.
Name | Type |
---|---|
e |
KeyboardEvent |
params |
Object |
params.alt |
boolean |
params.ctrl |
boolean |
params.shift |
boolean |
params.space |
boolean |
any