[]
        
(Showing Draft Content)

WindowKeyboardListener

Document Solutions Image Viewer - v7.2.0 / WindowKeyboardListener

Interface: WindowKeyboardListener

Window keyboard listener handler interface.

Table of contents

Properties

Properties

onKeyDown

onKeyDown: (e: KeyboardEvent, params: { alt: boolean ; ctrl: boolean ; shift: boolean ; space: boolean }) => any

Type declaration

▸ (e, params): any

Called when key pressed.

Parameters
Name Type
e KeyboardEvent
params Object
params.alt boolean
params.ctrl boolean
params.shift boolean
params.space boolean
Returns

any


onKeyUp

onKeyUp: (e: KeyboardEvent, params: { alt: boolean ; ctrl: boolean ; shift: boolean ; space: boolean }) => any

Type declaration

▸ (e, params): any

Called when key released.

Parameters
Name Type
e KeyboardEvent
params Object
params.alt boolean
params.ctrl boolean
params.shift boolean
params.space boolean
Returns

any