Textarea 文本域

基础样式

show code

禁用状态

show code

只读状态

show code

属性 Attribute

AttributeTypeDefaultDescription
modelValuestring''输入值
placeholderstring''占位文本
widthstring''组件宽度
rowsnumber2文本行数
readonlybooleanfalse是否只读
disabledbooleanfalse是否禁用

事件 Event

EventTypeDescription
update:modelValue(state: string) => void监听 modelValue 值变化