The <luna-textarea> component provides multi-line text input with auto-resize and customization options.
Paths
/lunadom/components/textarea/textarea.js Basic States
Sizes
Resize Modes
Customization
default - The content of the textarea.label - The label of the textarea.help-text - The help text of the textarea.rows - The number of rows of the textarea.placeholder - The placeholder of the textarea.disabled - Whether the textarea is disabled.size - The size of the textarea. sm, md, lg. Defaults to 'md'.resize - The resize mode of the textarea. none, vertical, horizontal, both, auto. Default: 'none'.value - The value of the textarea.--luna-textarea-bg - Background color of the textarea.--luna-textarea-color - Text color of the textarea.--luna-textarea-border - Border color of the textarea.--luna-textarea-border-focus - Border color when focused.--luna-textarea-label - Label color of the textarea.--luna-textarea-help - Help text color of the textarea.luna-input - Emitted when the input value changes.luna-change - Emitted when the change event is triggered.