Skip to main content

Module textinput

Module textinput 

Source
Expand description

Common handling of keyboard input and state management for text input controls

Structsยง

ClipboardEventFlags
Resulting action to be taken by the owner of a text input that is handling a clipboard event.
ClipboardEventReaction
SelectionState ๐Ÿ”’
TextInput
Encapsulated state for handling keyboard input in a single or multiline text input control.

Enumsยง

Direction
The direction in which to delete a character.
InputType
https://www.w3.org/TR/input-events-2/#interface-InputEvent-Attributes
IsComposing
KeyReaction
Resulting action to be taken by the owner of a text input that is handling an event.
Lines
Selection
SelectionDirection

Constantsยง

CMD_OR_CONTROL ๐Ÿ”’

Functionsยง

len_of_first_n_code_units ๐Ÿ”’
The length in bytes of the first n code units in a string when encoded in UTF-16.