KeyGesture API in JavaScript (ES5) PDF Viewer API control
Defines the combination of keys and modifier keys.
Properties
modifierKeys
ModifierKeys
Specifies a combination of key modifiers, on recognition of which the command will be executed.
- None - no modifiers are pressed
- Control - ctrl key
- Meta - meta key im mac
- Alt - alt key
- Shift - shift key
Defaults to undefined
pdfKeys
PdfKeys
Defines a collection of keys commonly used in Pdf-related operations.
- none - no key
- N0 = The 0 key
- N1 = The 1 key
- N2 = The 2 key
- N3 = The 3 key
- N4 = The 4 key
- N5 = The 5 key
- N6 = The 6 key
- N7 = The 7 key
- N8 = The 8 key
- N9 = The 9 key
- Number0 = The 0 in number pad key
- Number1 = The 1 in number pad key
- Number2 = The 2 in number pad key
- Number3 = The 3 in number pad key
- Number4 = The 4 in number pad key
- Number5 = The 5 in number pad key
- Number6 = The 6 in number pad key
- Number7 = The 7 in number pad key
- Number8 = The 8 in number pad key
- Number9 = The 9 in number pad key
- BackSpace = The BackSpace key
- F1 = The f1 key
- F2 = The f2 key
- F3 = The f3 key
- F4 = The f4 key
- F5 = The f5 key
- F6 = The f6 key
- F7 = The f7 key
- F8 = The f8 key
- F9 = The f9 key
- F10 = The f10 key
- F11 = The f11 key
- F12 = The f12 key
- A = The a key
- B = The b key
- C = The c key
- D = The d key
- E = The e key
- F = The f key
- G = The g key
- H = The h key
- I = The i key
- J = The j key
- K = The k key
- L = The l key
- M = The m key
- N = The n key
- O = The o key
- P = The p key
- Q = The q key
- R = The r key
- S = The s key
- T = The t key
- U = The u key
- V = The v key
- W = The w key
- X = The x key
- Y = The y key
- Z = The z key
- Left = The left key
- Right = The right key
- Top = The top key
- Bottom = The bottom key
- Escape = The Escape key
- Tab = The tab key
- Delete = The delete key
- Enter = The enter key
- The Space key
- The page up key
- The page down key
- The end key
- The home key
- The Minus key
- The Plus key
- The Star key
Defaults to undefined