Raxol.Components.Input.MultiLineInput (Raxol v0.2.0)
View SourceA multi-line input component with line wrapping, vertical scrolling, and text manipulation.
Props
:value- Current text value (default: ""):placeholder- Placeholder text when empty (default: ""):width- Width of the input field (default: 40):height- Height of the input field (default: 10):style- Style map for customizing appearance:text_color- Color of the text (default: :white):placeholder_color- Color of placeholder text (default: :gray):selection_color- Color of selected text (default: :blue):cursor_color- Color of the cursor (default: :white):line_numbers- Whether to show line numbers (default: false):line_number_color- Color of line numbers (default: :gray)
:wrap- Line wrapping mode (default: :word):none- No wrapping:char- Wrap at character boundaries:word- Wrap at word boundaries
:on_change- Function called when text changes
Summary
Functions
Callback implementation for Raxol.UI.Components.Base.Component.mount/1.
Callback implementation for Raxol.UI.Components.Base.Component.unmount/1.
Functions
Callback implementation for Raxol.UI.Components.Base.Component.mount/1.
Callback implementation for Raxol.UI.Components.Base.Component.unmount/1.