Textarea: API Table
class: LionTextarea, lion-textarea
Fields
| Name | Privacy | Type | Default | Description | Inherited From |
|---|---|---|---|---|---|
maxRows | public | number | 6 | ||
placeholder | public | string | '' | ||
readOnly | public | boolean | false | ||
rows | public | number | 2 | ||
slots | public | ||||
updateComplete | public | ||||
_feedbackConditionMeta | protected | LionField | |||
_focusableNode | protected | LionField | |||
_inputNode | protected | LionFieldWithTextArea |
Methods
| Name | Privacy | Description | Parameters | Return | Inherited From |
|---|---|---|---|---|---|
clear | public | Clears modelValue. Interaction states are not cleared (use resetInteractionState for this) | LionField | ||
reset | public | Resets modelValue to initial value. Interaction states are cleared | LionField | ||
resetInteractionState | public | LionField | |||
resizeTextarea | public | ||||
setTextareaMaxHeight | public | To support maxRows we need to set max-height of the textarea | |||
_onChange | protected | Dispatches custom bubble event | ev: Event= | LionField |
Events
| Name | Type | Description | Inherited From |
|---|---|---|---|
user-input-changed | Event | LionField |
Attributes
| Name | Field | Inherited From |
|---|---|---|
max-rows | maxRows | |
rows | rows | |
readonly | readOnly | |
placeholder | placeholder |