Raxol.Components.Input.TextInput (Raxol v0.2.0)
View SourceA text input component for single-line text entry.
Features:
- Cursor management
- Text selection
- Copy/paste support
- Password masking
- Placeholder text
Summary
Functions
Callback implementation for Raxol.UI.Components.Base.Component.mount/1
.
Callback implementation for Raxol.UI.Components.Base.Component.unmount/1
.
Types
@type state() :: %{ value: String.t(), cursor: non_neg_integer(), selection: {non_neg_integer(), non_neg_integer()} | nil, focused: boolean(), placeholder: String.t() | nil, password: boolean() }
Functions
Callback implementation for Raxol.UI.Components.Base.Component.mount/1
.
Callback implementation for Raxol.UI.Components.Base.Component.unmount/1
.