Expand description
Common handling of keyboard input and state management for text input controls
Structs§
- Clipboard
Event Flags - Resulting action to be taken by the owner of a text input that is handling a clipboard event.
- Clipboard
Event Reaction - Embedder
Clipboard 🔒Provider - Selection
State 🔒 - Text
Input - Encapsulated state for handling keyboard input in a single or multiline text input control.
Enums§
- Direction
- The direction in which to delete a character.
- Input
Type - 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
- Selection
Direction
Constants§
Traits§
- Clipboard
Provider - A trait which abstracts access to the embedder’s clipboard in order to allow unit
testing clipboard-dependent parts of
script.
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.