TypewriterActionKeyboard
TYPE DEFINITION
Represents the user entering text via the keyboard.
Since 1.2.0
Extends BaseTypewriterActionProperties
-
text
string
The string that was typed in, can either be a word or a single character or a special symbol representing a special key on the keyboard. There are six special keys:
- A backspace represented by '⌫'. It will when nothing is selected delete the previous character, and when the cursor does have a selection, remove all characters in the selection.
- 'Clear all' represented by '⎚', it clears the entire text.
- The left arrow key represented by '←'. When nothing is selected is will move the cursor one position to the left. When a selection is made it will move the cursor to the start of the selection.
- The right arrow key represented by '→'. When nothing is selected is will move the cursor one position to the right. When a selection is made it will move the cursor to the end of the selection.
- Select left, represented by ⇧←', when repeated grows the selection.
- Select right, represented by ⇧→', when repeated grows the selection.
Since 1.2.0
-
type
"keyboard"
The type signifying it is a keyboard event.
Since 1.2.0