{
    "name": "gov-textarea",
    "label": "多行输入框",
    "description": "多行输入框",
    "codeSnap": "<gov-textarea placeholder=\"请输入请求内容，1-25个字\"    head=\"多行输入框 textarea\"     maxlength=\"25\"    has-border >\n        </gov-textarea>",
    "groups": "layout",
    "demoCode": {
        "s": "<gov-textarea     placeholder=\"请输入请求内容，1-25个字\"    head=\"多行输入框 textarea 有灰色底边框线\"     maxlength=\"25\"    has-border  ></gov-textarea><gov-textarea     placeholder=\"请输入内容, 1-999个字\"     head=\"多行输入框 textarea 无灰色底边框线\"></gov-textarea><gov-textarea    placeholder=\"请输入内容.\"     title=\"默认标题\"      status=\"{{errorStatus}}\"      gov-notice-icon=\"gov-notice-icon\"     notice-info=\"{{noticeInfo}}\"></gov-textarea>",
        "js": "Page({\n    data: {\n        normalStatus: 'normal',\n        errorStatus: 'error',\n        // 控制输入块后面的notic图标\n        noticeInfo: {\n            // 是否显示notic图标\n            visible: true,\n            type: 'modal',\n            // modal 文案\n            modalOptions: {\n                modalTitle: '标题',\n                modalContent: 'modal文案！'\n            }\n        },\n        noticeList: {\n            // 是否显示notic图标\n            visible: true,\n            type: 'toast',\n            // toast 文案\n            toastOptions: {\n                toastTitle: 'toast文案～',\n                // \"success\"、\"loading\"、\"none\"\n                toastIcon: 'none'\n            }\n        },\n        icon: {\n            color: '#2b99ff',\n            name: 'real-estate-m'\n        }\n    }\n});\n",
        "css": ".text-title,\n.text-wrap {\n    color: #2b99ff !important;\n}\n.gov-notice-icon {\n    padding-right: 10px !important;\n}\n"
    },
    "properties": {
        "attributes": [
            {
                "name": "head",
                "type": "String",
                "description": "头部标题",
                "required": "否",
                "default": ""
            },
            {
                "name": "hasBorder",
                "type": "Boolean",
                "description": "头部标题下的粗分割",
                "required": "否",
                "default": "false"
            },
            {
                "name": "title",
                "type": "String",
                "description": "文本域左侧文字",
                "required": "否",
                "default": ""
            },
            {
                "name": "status",
                "type": "String",
                "description": "当前文本域的状态 错误状态-error",
                "required": "否",
                "default": ""
            },
            {
                "name": "noticeInfo",
                "type": "Object",
                "description": "点击icon之后出弹窗或者toast文案, 内容包括是否展示icon, 提示的类型和文案",
                "required": "否",
                "default": ""
            },
            {
                "name": "value",
                "type": "String",
                "description": "输入框内默认的文字，没有就展示placeholder",
                "required": "否",
                "default": ""
            },
            {
                "name": "disabled",
                "type": "Boolean",
                "description": "是否禁用",
                "required": "否",
                "default": "false"
            },
            {
                "name": "maxlength",
                "type": "Number",
                "description": "最多输入字数",
                "required": "否",
                "default": "999"
            },
            {
                "name": "placeholder",
                "type": "String",
                "description": "默认提示文字",
                "required": "true",
                "default": ""
            },
            {
                "name": "cursorSpacing",
                "type": "Number",
                "description": "指定光标与键盘的距离",
                "required": "false",
                "default": "6"
            },
            {
                "name": "adjustPosition",
                "type": "Boolean",
                "description": "键盘弹起时，是否自动上推页面",
                "required": "true",
                "default": "true"
            },
            {
                "name": "showConfirmBar",
                "type": "Boolean",
                "description": "键盘上方是否显示”完成“按钮栏",
                "required": "true",
                "default": "true"
            },
            {
                "name": "showTip",
                "type": "Boolean",
                "description": "是否展示字数提示文案",
                "required": "false",
                "default": "true"
            },
            {
                "name": "exceedToast",
                "type": "String",
                "description": "自定义超出输入字数超出最大值的toast文案",
                "required": "false",
                "default": "最多输入42个字"
            },
            {
                "name": "showExceedToast",
                "type": "Boolean",
                "description": "超出字数是否展示toast文案",
                "required": "false",
                "default": "false"
            }
        ],
        "events": [
            {
                "name": "blur",
                "type": "Event",
                "description": "失焦时触发",
                "required": "否",
                "default": "-"
            },
            {
                "name": "input",
                "type": "Event",
                "description": "输入时触发",
                "required": "否",
                "default": "-"
            }
        ]
    }
}