{
  "title": "textarea",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "组件名字，用于表单提交获取数据。"
    },
    "value": {
      "type": "string",
      "description": "初始内容。"
    },
    "placeholder": {
      "type": "string",
      "description": "占位符。"
    },
    "placeholder-style": {
      "type": "string",
      "description": "指定 placeholder 的样式。"
    },
    "placeholder-class": {
      "type": "string",
      "description": "指定 placeholder 的样式类。"
    },
    "disabled": {
      "type": "boolean",
      "description": "是否禁用。",
      "defaultValue": false
    },
    "maxlength": {
      "type": "number",
      "description": "最大长度，当设置为 -1 时不限制最大长度。",
      "defaultValue": 140
    },
    "focus": {
      "type": "boolean",
      "description": "获取焦点。",
      "defaultValue": false
    },
    "auto-height": {
      "type": "boolean",
      "description": "是否自动增高。",
      "defaultValue": false
    },
    "show-count": {
      "type": "boolean",
      "description": "是否渲染字数统计功能（是否删除默认计数器/是否显示字数统计）。",
      "defaultValue": true
    },
    "controlled": {
      "type": "boolean",
      "description": "是否为受控组件。为 true 时，value 内容会完全受 setData 控制。",
      "defaultValue": false
    },
    "confirm-type": {
      "type": "string",
      "description": "设置键盘右下角按钮的文字。有效值：return（显示“换行”）、done（显示“完成”）、go（显示“前往”）、next（显示“下一个”）、search（显示“搜索”）、send（显示“发送”）。\n注意： 仅支持 Android。",
      "defaultValue": "return。"
    },
    "onInput": {
      "tsType": "() => void",
      "description": "键盘输入时触发，event.detail = {value: value, cursor: cursor}。"
    },
    "onFocus": {
      "tsType": "() => void",
      "description": "输入框聚焦时触发 event.detail = {value: value}。"
    },
    "onBlur": {
      "tsType": "() => void",
      "description": "输入框失去焦点时触发，event.detail = {value: value}。"
    },
    "onConfirm": {
      "tsType": "() => void",
      "description": "点击完成时触发，event.detail = {value: value}。"
    }
  },
  "additionalProperties": false
}