Search
Preparing search index...
The search index is not available
@nut-tree/nut-js
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
KeyboardAction
Class KeyboardAction
Hierarchy
KeyboardAction
Implements
KeyboardActionProvider
Index
Constructors
constructor
Properties
Key
Lookup
Map
Methods
click
press
Key
release
Key
set
Keyboard
Delay
type
key
Lookup
Constructors
constructor
new
Keyboard
Action
(
)
:
KeyboardAction
Returns
KeyboardAction
Properties
Static
Key
Lookup
Map
Key
Lookup
Map
:
Map
<
Key
,
null
|
string
>
= new Map<Key, string | null>([[Key.A, "a"],[Key.B, "b"],[Key.C, "c"],[Key.D, "d"],[Key.E, "e"],[Key.F, "f"],[Key.G, "g"],[Key.H, "h"],[Key.I, "i"],[Key.J, "j"],[Key.K, "k"],[Key.L, "l"],[Key.M, "m"],[Key.N, "n"],[Key.O, "o"],[Key.P, "p"],[Key.Q, "q"],[Key.R, "r"],[Key.S, "s"],[Key.T, "t"],[Key.U, "u"],[Key.V, "v"],[Key.W, "w"],[Key.X, "x"],[Key.Y, "y"],[Key.Z, "z"],[Key.F1, "f1"],[Key.F2, "f2"],[Key.F3, "f3"],[Key.F4, "f4"],[Key.F5, "f5"],[Key.F6, "f6"],[Key.F7, "f7"],[Key.F8, "f8"],[Key.F9, "f9"],[Key.F10, "f10"],[Key.F11, "f11"],[Key.F12, "f12"],[Key.Num0, "0"],[Key.Num1, "1"],[Key.Num2, "2"],[Key.Num3, "3"],[Key.Num4, "4"],[Key.Num5, "5"],[Key.Num6, "6"],[Key.Num7, "7"],[Key.Num8, "8"],[Key.Num9, "9"],[Key.NumPad0, "numpad_0"],[Key.NumPad1, "numpad_1"],[Key.NumPad2, "numpad_2"],[Key.NumPad3, "numpad_3"],[Key.NumPad4, "numpad_4"],[Key.NumPad5, "numpad_5"],[Key.NumPad6, "numpad_6"],[Key.NumPad7, "numpad_7"],[Key.NumPad8, "numpad_8"],[Key.NumPad9, "numpad_9"],[Key.Space, "space"],[Key.Escape, "escape"],[Key.Tab, "tab"],[Key.LeftAlt, "alt"],[Key.LeftControl, "control"],[Key.RightAlt, "alt"],[Key.RightControl, "control"],[Key.LeftShift, "shift"],[Key.LeftSuper, "command"],[Key.RightShift, "space"],[Key.RightSuper, "command"],[Key.Grave, "~"],[Key.Minus, "-"],[Key.Equal, "="],[Key.Backspace, "backspace"],[Key.LeftBracket, "["],[Key.RightBracket, "]"],[Key.Backslash, "\\"],[Key.Semicolon, ";"],[Key.Quote, "'"],[Key.Return, "enter"],[Key.Comma, ","],[Key.Period, "."],[Key.Slash, "/"],[Key.Left, "left"],[Key.Up, "up"],[Key.Right, "right"],[Key.Down, "down"],[Key.Print, "printscreen"],[Key.Pause, null],[Key.Insert, "insert"],[Key.Delete, null],[Key.Home, "home"],[Key.End, "end"],[Key.PageUp, "pageup"],[Key.PageDown, "pagedown"],[Key.Add, null],[Key.Subtract, null],[Key.Multiply, null],[Key.Divide, null],[Key.Decimal, null],[Key.Enter, "enter"],[Key.CapsLock, null],[Key.ScrollLock, null],[Key.NumLock, null],])
Methods
click
click
(
...
keys
:
Key
[]
)
:
Promise
<
void
>
Parameters
Rest
...
keys:
Key
[]
Returns
Promise
<
void
>
press
Key
press
Key
(
...
keys
:
Key
[]
)
:
Promise
<
void
>
Parameters
Rest
...
keys:
Key
[]
Returns
Promise
<
void
>
release
Key
release
Key
(
...
keys
:
Key
[]
)
:
Promise
<
void
>
Parameters
Rest
...
keys:
Key
[]
Returns
Promise
<
void
>
set
Keyboard
Delay
set
Keyboard
Delay
(
delay
:
number
)
:
void
Parameters
delay:
number
Returns
void
type
type
(
input
:
string
)
:
Promise
<
void
>
Parameters
input:
string
Returns
Promise
<
void
>
Static
key
Lookup
key
Lookup
(
key
:
Key
)
:
any
Parameters
key:
Key
Returns
any
Globals
Keyboard
Action
constructor
Key
Lookup
Map
click
press
Key
release
Key
set
Keyboard
Delay
type
key
Lookup