Search

Find components, guides, and documentation

Textarea: API Table

class: LionTextarea, lion-textarea

Fields

NamePrivacyTypeDefaultDescriptionInherited From
maxRowspublicnumber6
placeholderpublicstring''
readOnlypublicbooleanfalse
rowspublicnumber2
slotspublic
updateCompletepublic
_feedbackConditionMetaprotectedLionField
_focusableNodeprotectedLionField
_inputNodeprotectedLionFieldWithTextArea

Methods

NamePrivacyDescriptionParametersReturnInherited From
clearpublicClears modelValue. Interaction states are not cleared (use resetInteractionState for this)LionField
resetpublicResets modelValue to initial value. Interaction states are clearedLionField
resetInteractionStatepublicLionField
resizeTextareapublic
setTextareaMaxHeightpublicTo support maxRows we need to set max-height of the textarea
_onChangeprotectedDispatches custom bubble eventev: Event=LionField

Events

NameTypeDescriptionInherited From
user-input-changedEventLionField

Attributes

NameFieldInherited From
max-rowsmaxRows
rowsrows
readonlyreadOnly
placeholderplaceholder