UNPKG

element-gui

Version:

A Component Library for Vue.js.

2,031 lines 158 kB
{ "el-affix/offset-top": { "type": "number", "description": "距离窗口顶部达到指定偏移量后触发,类型为:number" }, "el-affix/offset-bottom": { "type": "number", "description": "距离窗口底部达到指定偏移量后触发,类型为:number" }, "el-affix/target": { "type": "function", "description": "设置 `Affix` 需要监听其滚动事件的元素,值为一个返回对应 `DOM` 元素的函数,类型为:function" }, "el-alert/title": { "type": "string", "description": "标题,类型为:string" }, "el-alert/type": { "type": "string", "description": "主题,类型为:string", "options": [ "primary", "success", "warning", "info", "error" ] }, "el-alert/description": { "type": "string", "description": "辅助性文字,也可通过默认 `slot` 传入,类型为:string" }, "el-alert/closable": { "type": "boolean", "description": "是否可关闭,类型为:boolean" }, "el-alert/center": { "type": "boolean", "description": "文字是否居中,类型为:boolean" }, "el-alert/close-text": { "type": "string", "description": "关闭按钮自定义文本,类型为:string" }, "el-alert/show-icon": { "type": "boolean", "description": "是否显示图标,类型为:boolean" }, "el-alert/effect": { "type": "string", "description": "选择提供的主题,类型为:string", "options": [ "light", "dark" ] }, "el-autocomplete/placeholder": { "type": "string", "description": "输入框占位文本,类型为:string" }, "el-autocomplete/clearable": { "type": "boolean", "description": "是否可清空,类型为:boolean" }, "el-autocomplete/disabled": { "type": "boolean", "description": "禁用,类型为:boolean" }, "el-autocomplete/readonly": { "type": "boolean", "description": "原生属性,是否只读,类型为:boolean" }, "el-autocomplete/size": { "type": "string", "description": "输入框尺寸,继承全局尺寸或者表单尺寸,类型为:string", "options": [ "medium", "small", "mini" ] }, "el-autocomplete/value-key": { "type": "string", "description": "输入建议对象中用于显示的键名,类型为:string" }, "el-autocomplete/value": { "type": "string", "description": "必填值,输入绑定值,类型为:string" }, "el-autocomplete/v-model": { "type": "string", "description": "必填值,输入绑定值,类型为:string" }, "el-autocomplete/debounce": { "type": "number", "description": "获取输入建议的去抖延时,类型为:number" }, "el-autocomplete/placement": { "type": "string", "description": "下拉框出现的位置,类型为:string", "options": [ "top", "top-start", "top-end", "bottom", "bottom-start", "bottom-end", "left", "left-start", "left-end", "right", "right-start", "right-end" ] }, "el-autocomplete/fetch-suggestions": { "type": "function", "description": "返回输入建议的方法,仅当你的输入建议数据 `resolve` 时,通过调用 `callback(data:[])` 来返回它,类型为:function" }, "el-autocomplete/popper-class": { "type": "string", "description": "`Autocomplete` 下拉列表的类名,类型为:string" }, "el-autocomplete/trigger-on-focus": { "type": "boolean", "description": "是否在输入框 `focus` 时显示建议列表,类型为:boolean" }, "el-autocomplete/name": { "type": "string", "description": "原生属性,类型为:string" }, "el-autocomplete/select-when-unmatched": { "type": "boolean", "description": "在输入没有任何匹配建议的情况下,按下回车是否触发 `select` 事件,类型为:boolean" }, "el-autocomplete/label": { "type": "string", "description": "输入框关联的 `label` 文字,类型为:string" }, "el-autocomplete/prefix-icon": { "type": "string", "description": "输入框头部图标,类型为:string" }, "el-autocomplete/suffix-icon": { "type": "string", "description": "输入框尾部图标,类型为:string" }, "el-autocomplete/hide-loading": { "type": "boolean", "description": "是否隐藏远程加载时的加载图标,类型为:boolean" }, "el-autocomplete/popper-append-to-body": { "type": "boolean", "description": "是否将下拉列表插入至 `body` 元素,在下拉列表的定位出现问题时,可将该属性设置为 `false`,类型为:boolean" }, "el-autocomplete/highlight-first-item": { "type": "boolean", "description": "是否默认突出显示远程搜索建议中的第一项,类型为:boolean" }, "el-autocomplete/select-on-tab": { "type": "boolean", "description": "通过 `tab` 键选择,类型为:boolean" }, "el-autocomplete/visible-arrow": { "type": "boolean", "description": "是否显示 `Tooltip` 箭头,类型为:boolean" }, "el-avatar/icon": { "type": "string", "description": "设置头像的图标类型,参考 [Icon](https://ui.const.team/#/component/icon) 组件,类型为:string" }, "el-avatar/size": { "type": "number / string", "description": "设置头像的大小,类型为:number / string", "options": [ "number", "medium", "small", "mini" ] }, "el-avatar/shape": { "type": "string", "description": "设置头像的形状,类型为:string", "options": [ "circle", "square" ] }, "el-avatar/src": { "type": "string", "description": "图片头像的资源地址,类型为:string" }, "el-avatar/src-set": { "type": "string", "description": "以逗号分隔的一个或多个字符串列表表明一系列用户代理使用的可能的图像,类型为:string" }, "el-avatar/alt": { "type": "string", "description": "描述图像的替换文本,类型为:string" }, "el-avatar/fit": { "type": "string", "description": "当展示类型为图片的时候,设置图片如何适应容器框,类型为:string", "options": [ "fill", "contain", "cover", "none", "scale-down" ] }, "el-backtop/target": { "type": "string", "description": "触发滚动的对象,类型为:string" }, "el-backtop/visibility-height": { "type": "number", "description": "滚动高度达到此参数值才出现,类型为:number" }, "el-backtop/right": { "type": "number", "description": "控制其显示位置, 距离页面右边距,类型为:number" }, "el-backtop/bottom": { "type": "number", "description": "控制其显示位置, 距离页面底部距离,类型为:number" }, "el-backtop/effect": { "type": "string", "description": "默认提供的主题,类型为:string", "options": [ "dark", "light" ] }, "el-backtop/square": { "type": "boolean", "description": "是否为方形,类型为:boolean" }, "el-badge/value": { "type": "string / number", "description": "显示值,类型为:string / number" }, "el-badge/max": { "type": "number", "description": "最大值,超过最大值会显示 `{max}+`,要求 `value` 是 `Number` 类型,类型为:number" }, "el-badge/is-dot": { "type": "boolean", "description": "小圆点,类型为:boolean" }, "el-badge/hidden": { "type": "boolean", "description": "隐藏 `Badge`,类型为:boolean" }, "el-badge/type": { "type": "string", "description": "类型,类型为:string", "options": [ "primary", "success", "warning", "danger", "info" ] }, "el-badge/show-zero": { "type": "boolean", "description": "值为零时是否显示 `Badge`,类型为:boolean" }, "el-badge/background-color": { "type": "string", "description": "背景色,类型为:string" }, "el-badge/offset": { "type": "array", "description": "`Badge` 的偏移量,格式是`[左,上]`代表状态点从左侧和默认位置顶部的偏移,类型为:array" }, "el-badge/badge-style": { "type": "object", "description": "自定义 `Badge` 样式,如果样式复杂建议使用 `badge-class`,类型为:object" }, "el-badge/badge-class": { "type": "string", "description": "自定义 `Badge` 类名,类型为:string" }, "el-breadcrumb/separator": { "type": "string", "description": "分隔符,类型为:string" }, "el-breadcrumb/size": { "type": "string", "description": "尺寸,继承全局尺寸,类型为:string", "options": [ "medium", "small", "mini" ] }, "el-breadcrumb/separator-class": { "type": "string", "description": "图标分隔符 `class`,类型为:string" }, "el-breadcrumb-item/title": { "type": "string", "description": "标题,此属性优先级高于插槽,类型为:string" }, "el-breadcrumb-item/to": { "type": "string / object", "description": "路由跳转对象,同 `vue-router` 的 `to`,类型为:string / object" }, "el-breadcrumb-item/replace": { "type": "boolean", "description": "在使用 `to` 进行路由跳转时,启用 `replace` 将不会向 `history` 添加新记录,类型为:boolean" }, "el-button/size": { "type": "string", "description": "尺寸,类型为:string", "options": [ "medium", "small", "mini" ] }, "el-button/type": { "type": "string", "description": "类型,类型为:string", "options": [ "primary", "success", "warning", "danger", "info", "text" ] }, "el-button/plain": { "type": "boolean", "description": "是否朴素按钮,类型为:boolean" }, "el-button/round": { "type": "boolean", "description": "是否圆角按钮,类型为:boolean" }, "el-button/circle": { "type": "boolean", "description": "是否圆形按钮,类型为:boolean" }, "el-button/dashed": { "type": "boolean", "description": "是否虚线按钮,类型为:boolean" }, "el-button/square": { "type": "boolean", "description": "是否方形按钮,类型为:boolean" }, "el-button/loading": { "type": "boolean", "description": "是否加载中状态,类型为:boolean" }, "el-button/disabled": { "type": "boolean", "description": "是否禁用状态,类型为:boolean" }, "el-button/icon": { "type": "string", "description": "图标类名,类型为:string" }, "el-button/icon-right": { "type": "string", "description": "图标类名,显示在文字右侧,类型为:string" }, "el-button/autofocus": { "type": "boolean", "description": "是否默认聚焦,类型为:boolean" }, "el-button/native-type": { "type": "string", "description": "原生 `type` 属性,类型为:string", "options": [ "button", "submit", "reset" ] }, "el-calendar/value": { "type": "date / string / number", "description": "绑定值,类型为:date / string / number" }, "el-calendar/v-model": { "type": "date / string / number", "description": "绑定值,类型为:date / string / number" }, "el-calendar/range": { "type": "array", "description": "时间范围,包括开始时间与结束时间,开始时间必须是周一,结束时间必须是周日,且时间跨度不能超过两个月,类型为:array" }, "el-calendar/first-day-of-week": { "type": "number", "description": "周起始日,类型为:number", "options": [ "1", "2", "3", "4", "5", "6", "7" ] }, "el-card/header": { "type": "string", "description": "设置 `header`,也可以通过 `slot#header` 传入 `DOM`,类型为:string" }, "el-card/footer": { "type": "string", "description": "设置 `footer`,也可以通过 `slot#footer` 传入 `DOM`,类型为:string" }, "el-card/body-style": { "type": "object", "description": "设置 `body` 的样式,类型为:object" }, "el-card/shadow": { "type": "string", "description": "设置阴影显示时机,类型为:string", "options": [ "always", "hover", "never" ] }, "el-carousel/width": { "type": "string", "description": "走马灯的宽度,类型为:string" }, "el-carousel/height": { "type": "string", "description": "走马灯的高度,类型为:string" }, "el-carousel/initial-index": { "type": "number", "description": "初始状态激活的幻灯片的索引,从 `0` 开始,类型为:number" }, "el-carousel/trigger": { "type": "string", "description": "指示器的触发方式,类型为:string", "options": [ "click" ] }, "el-carousel/autoplay": { "type": "boolean", "description": "是否自动切换,类型为:boolean" }, "el-carousel/interval": { "type": "number", "description": "自动切换的时间间隔,单位为毫秒,类型为:number" }, "el-carousel/indicator-position": { "type": "string", "description": "指示器的位置,类型为:string", "options": [ "outside", "none" ] }, "el-carousel/arrow": { "type": "string", "description": "切换箭头的显示时机,类型为:string", "options": [ "always", "hover", "never" ] }, "el-carousel/type": { "type": "string", "description": "走马灯的类型,类型为:string", "options": [ "card" ] }, "el-carousel/loop": { "type": "boolean", "description": "是否循环显示,类型为:boolean" }, "el-carousel/direction": { "type": "string", "description": "走马灯展示的方向,类型为:string", "options": [ "horizontal", "vertical" ] }, "el-carousel-item/name": { "type": "string", "description": "幻灯片的名字,可用作 `setActiveItem` 的参数,类型为:string" }, "el-carousel-item/label": { "type": "string", "description": "该幻灯片所对应指示器的文本,类型为:string" }, "el-carousel-item/lazy": { "type": "boolean", "description": "是否懒加载,类型为:boolean" }, "el-cascader/value": { "type": "string / number / object", "description": "选中项绑定值,类型为:string / number / object" }, "el-cascader/v-model": { "type": "string / number / object", "description": "选中项绑定值,类型为:string / number / object" }, "el-cascader/options": { "type": "array", "description": "可选项数据源,键名可通过 `Props` 属性配置,类型为:array" }, "el-cascader/props": { "type": "object", "description": "配置选项,具体见[Props](https://ui.const.team/#/component/cascader#props),类型为:object" }, "el-cascader/size": { "type": "string", "description": "尺寸,继承全局尺寸或者表单尺寸,类型为:string", "options": [ "medium", "small", "mini" ] }, "el-cascader/placeholder": { "type": "string", "description": "输入框占位文本,类型为:string" }, "el-cascader/placement": { "type": "string", "description": "下拉框出现的位置,类型为:string", "options": [ "top", "top-start", "top-end", "bottom", "bottom-start", "bottom-end", "left", "left-start", "left-end", "right", "right-start", "right-end" ] }, "el-cascader/disabled": { "type": "boolean", "description": "是否禁用,类型为:boolean" }, "el-cascader/clearable": { "type": "boolean", "description": "是否支持清空选项,类型为:boolean" }, "el-cascader/show-all-levels": { "type": "boolean", "description": "输入框中是否显示选中值的完整路径,类型为:boolean" }, "el-cascader/collapse-tags": { "type": "boolean", "description": "多选模式下是否折叠 `Tag`,类型为:boolean" }, "el-cascader/collapse-tags-max-num": { "type": "number", "description": "多选模式下设置多少后开始折叠,类型为:number" }, "el-cascader/separator": { "type": "string", "description": "选项分隔符,类型为:string" }, "el-cascader/filterable": { "type": "boolean", "description": "是否可搜索选项,类型为:boolean" }, "el-cascader/filter-method": { "type": "function", "description": "自定义搜索逻辑,第一个参数是节点 `node`,第二个参数是搜索关键词 `keyword`,通过返回布尔值表示是否命中,类型为:function" }, "el-cascader/debounce": { "type": "number", "description": "搜索关键词输入的去抖延迟,单位毫秒,类型为:number" }, "el-cascader/before-filter": { "type": "function", "description": "筛选之前的钩子,参数为输入的值,若返回 `false` 或者返回 `Promise` 且被 `reject`,则停止筛选,类型为:function" }, "el-cascader/popper-class": { "type": "string", "description": "自定义浮层类名,类型为:string" }, "el-cascader/option-max-width": { "type": "string / number", "description": "选项框最大宽度,默认不限制,类型为:string / number" }, "el-cascader/popper-max-width": { "type": "string / number", "description": "折叠下拉最大宽度,类型为:string / number" }, "el-cascader/popper-append-to-body": { "type": "boolean", "description": "是否将弹出框插入至 `body` 元素,在弹出框的定位出现问题时,可将该属性设置为 `false`,类型为:boolean" }, "el-cascader/visible-arrow": { "type": "boolean", "description": "是否显示 `Tooltip` 箭头,类型为:boolean" }, "el-cascader/overlay": { "type": "boolean", "description": "搜索框是否显示在下拉菜单中,类型为:boolean" }, "el-cascader/tag-type": { "type": "string", "description": "标签类型,类型为:string", "options": [ "success", "info", "warning", "danger" ] }, "el-cascader-panel/value": { "type": "string / array", "description": "选中项绑定值,类型为:string / array" }, "el-cascader-panel/v-model": { "type": "string / array", "description": "选中项绑定值,类型为:string / array" }, "el-cascader-panel/options": { "type": "array", "description": "可选项数据源,键名可通过 `Props` 属性配置,类型为:array" }, "el-cascader-panel/props": { "type": "object", "description": "配置选项,具体见[Props](https://ui.const.team/#/component/cascader#props),类型为:object" }, "el-cascader-panel/size": { "type": "string", "description": "尺寸,类型为:string", "options": [ "medium", "small", "mini" ] }, "el-checkbox/value": { "type": "string / number / boolean", "description": "绑定值,类型为:string / number / boolean" }, "el-checkbox/v-model": { "type": "string / number / boolean", "description": "绑定值,类型为:string / number / boolean" }, "el-checkbox/label": { "type": "string / number / boolean", "description": "选中状态的值(只有在 `checkbox-group` 或者绑定对象类型为 `Array` 时有效),类型为:string / number / boolean" }, "el-checkbox/true-label": { "type": "string / number", "description": "选中时的值,类型为:string / number" }, "el-checkbox/false-label": { "type": "string / number", "description": "没有选中时的值,类型为:string / number" }, "el-checkbox/disabled": { "type": "boolean", "description": "是否禁用,类型为:boolean" }, "el-checkbox/border": { "type": "boolean", "description": "是否显示边框,类型为:boolean" }, "el-checkbox/size": { "type": "string", "description": "`Checkbox` 的尺寸,继承全局尺寸或者表单尺寸,类型为:string", "options": [ "medium", "small", "mini" ] }, "el-checkbox/name": { "type": "string", "description": "原生 `name` 属性,类型为:string" }, "el-checkbox/checked": { "type": "boolean", "description": "当前是否勾选,类型为:boolean" }, "el-checkbox/indeterminate": { "type": "boolean", "description": "设置 `indeterminate` 状态,只负责样式控制,类型为:boolean" }, "el-checkbox-button/label": { "type": "string / number / boolean", "description": "选中状态的值(只有在 `checkbox-group` 或者绑定对象类型为 `Array` 时有效),类型为:string / number / boolean" }, "el-checkbox-button/true-label": { "type": "string / number", "description": "选中时的值,类型为:string / number" }, "el-checkbox-button/false-label": { "type": "string / number", "description": "没有选中时的值,类型为:string / number" }, "el-checkbox-button/disabled": { "type": "boolean", "description": "是否禁用,类型为:boolean" }, "el-checkbox-button/name": { "type": "string", "description": "原生 `name` 属性,类型为:string" }, "el-checkbox-button/checked": { "type": "boolean", "description": "当前是否勾选,类型为:boolean" }, "el-checkbox-tag/label": { "type": "string / number / boolean", "description": "选中状态的值(只有在 `checkbox-group` 或者绑定对象类型为 `Array` 时有效),类型为:string / number / boolean" }, "el-checkbox-tag/true-label": { "type": "string / number", "description": "选中时的值,类型为:string / number" }, "el-checkbox-tag/false-label": { "type": "string / number", "description": "没有选中时的值,类型为:string / number" }, "el-checkbox-tag/disabled": { "type": "boolean", "description": "是否禁用,类型为:boolean" }, "el-checkbox-tag/name": { "type": "string", "description": "原生 `name` 属性,类型为:string" }, "el-checkbox-tag/icon": { "type": "string", "description": "图标类名,类型为:string" }, "el-checkbox-tag/type": { "type": "string", "description": "类型,类型为:string", "options": [ "primary", "success", "warning", "danger", "info" ] }, "el-checkbox-tag/checked": { "type": "boolean", "description": "当前是否勾选,类型为:boolean" }, "el-checkbox-group/value": { "type": "array", "description": "绑定值,类型为:array" }, "el-checkbox-group/v-model": { "type": "array", "description": "绑定值,类型为:array" }, "el-checkbox-group/size": { "type": "string", "description": "多选框组尺寸,继承全局尺寸或者表单尺寸,类型为:string", "options": [ "medium", "small", "mini" ] }, "el-checkbox-group/disabled": { "type": "boolean", "description": "是否禁用,类型为:boolean" }, "el-checkbox-group/min": { "type": "number", "description": "可被勾选的 `Checkbox` 的最小数量,类型为:number" }, "el-checkbox-group/max": { "type": "number", "description": "可被勾选的 `Checkbox` 的最大数量,类型为:number" }, "el-checkbox-group/text-color": { "type": "string", "description": "按钮形式的 `Checkbox` 激活时的文本颜色,类型为:string" }, "el-checkbox-group/fill": { "type": "string", "description": "按钮形式的 `Checkbox` 激活时的填充色和边框色,类型为:string" }, "el-collapse/value": { "type": "string / array", "description": "当前激活的面板(如果是手风琴模式,绑定值类型需要为 `String` ,否则为 `Array`),类型为:string / array" }, "el-collapse/v-model": { "type": "string / array", "description": "当前激活的面板(如果是手风琴模式,绑定值类型需要为 `String` ,否则为 `Array`),类型为:string / array" }, "el-collapse/accordion": { "type": "boolean", "description": "是否手风琴模式,类型为:boolean" }, "el-collapse/icon-text": { "type": "boolean", "description": "展开图标是否显示文字,类型为:boolean" }, "el-collapse/open-text": { "type": "string", "description": "展开文字,类型为:string" }, "el-collapse/close-text": { "type": "string", "description": "收起文字,类型为:string" }, "el-collapse/icon-trigger": { "type": "boolean", "description": "点击图标展开收起,类型为:boolean" }, "el-collapse/card": { "type": "boolean", "description": "是否卡片风格,类型为:boolean" }, "el-collapse/default-expand-all": { "type": "boolean", "description": "是全部展开,类型为:boolean" }, "el-collapse-item/name": { "type": "string / number", "description": "唯一标志符,类型为:string / number" }, "el-collapse-item/title": { "type": "string", "description": "面板标题,类型为:string" }, "el-collapse-item/disabled": { "type": "boolean", "description": "是否禁用,类型为:boolean" }, "el-collapse-item/lazy": { "type": "boolean", "description": "是否懒加载,类型为:boolean" }, "el-collapse-item/trigger": { "type": "string", "description": "点击图标展开收起,类型为:string" }, "el-color-picker/value": { "type": "string", "description": "绑定值,类型为:string" }, "el-color-picker/v-model": { "type": "string", "description": "绑定值,类型为:string" }, "el-color-picker/disabled": { "type": "boolean", "description": "是否禁用,类型为:boolean" }, "el-color-picker/readonly": { "type": "boolean", "description": "是否只读,类型为:boolean" }, "el-color-picker/clearable": { "type": "boolean", "description": "是否显示清除按钮,类型为:boolean" }, "el-color-picker/size": { "type": "string", "description": "尺寸,继承全局尺寸或者表单尺寸,类型为:string", "options": [ "medium", "small", "mini" ] }, "el-color-picker/show-alpha": { "type": "boolean", "description": "是否支持透明度选择,类型为:boolean" }, "el-color-picker/color-format": { "type": "string", "description": "写入 `v-model` 的颜色的格式,类型为:string", "options": [ "hsl", "hsv", "hex", "rgb" ] }, "el-color-picker/popper-class": { "type": "string", "description": "下拉框的类名,类型为:string" }, "el-color-picker/predefine": { "type": "array", "description": "预定义颜色,类型为:array" }, "el-color-picker/append-to-body": { "type": "boolean", "description": "下拉面板是否插入至 `body` 元素上,类型为:boolean" }, "el-color-picker/visible-arrow": { "type": "boolean", "description": "是否显示 `Tooltip` 箭头,类型为:boolean" }, "el-color-picker/placement": { "type": "string", "description": "下拉框出现的位置,类型为:string", "options": [ "top", "top-start", "top-end", "bottom", "bottom-start", "bottom-end", "left", "left-start", "left-end", "right", "right-start", "right-end" ] }, "el-container/direction": { "type": "string", "description": "子元素的排列方向,类型为:string", "options": [ "horizontal", "vertical" ] }, "el-header/height": { "type": "string", "description": "顶栏高度,类型为:string" }, "el-aside/width": { "type": "string", "description": "侧边栏宽度,类型为:string" }, "el-footer/height": { "type": "string", "description": "底栏高度,类型为:string" }, "el-date-picker/value": { "type": "date / array", "description": "绑定值,类型为:date / array" }, "el-date-picker/v-model": { "type": "date / array", "description": "绑定值,类型为:date / array" }, "el-date-picker/readonly": { "type": "boolean", "description": "完全只读,类型为:boolean" }, "el-date-picker/disabled": { "type": "boolean", "description": "禁用,类型为:boolean" }, "el-date-picker/editable": { "type": "boolean", "description": "文本框可输入,类型为:boolean" }, "el-date-picker/clearable": { "type": "boolean", "description": "是否显示清除按钮,类型为:boolean" }, "el-date-picker/size": { "type": "string", "description": "输入框尺寸,继承全局尺寸或者表单尺寸,类型为:string", "options": [ "medium", "small", "mini" ] }, "el-date-picker/placeholder": { "type": "string", "description": "非范围选择时的占位内容,类型为:string" }, "el-date-picker/start-placeholder": { "type": "string", "description": "范围选择时开始日期的占位内容,类型为:string" }, "el-date-picker/end-placeholder": { "type": "string", "description": "范围选择时结束日期的占位内容,类型为:string" }, "el-date-picker/type": { "type": "string", "description": "显示类型,类型为:string", "options": [ "year", "years", "yearrange", "quarter", "quarters", "quarterrange", "month", "months", "monthrange", "week", "weeks", "weekrange", "date", "dates", "daterange", "datetime", "datetimerange" ] }, "el-date-picker/format": { "type": "string", "description": "显示在输入框中的格式,类型为:string" }, "el-date-picker/placement": { "type": "string", "description": "下拉框出现的位置,类型为:string", "options": [ "top", "top-start", "top-end", "bottom", "bottom-start", "bottom-end", "left", "left-start", "left-end", "right", "right-start", "right-end" ] }, "el-date-picker/popper-class": { "type": "string", "description": "`DatePicker` 下拉框的类名,类型为:string" }, "el-date-picker/picker-options": { "type": "object", "description": "当前时间日期选择器特有的选项参考,[PickerOptions](https://ui.const.team/#/component/date-picker#pickeroptions),类型为:object" }, "el-date-picker/range-separator": { "type": "string", "description": "选择范围时的分隔符,类型为:string" }, "el-date-picker/default-value": { "type": "date", "description": "可选,选择器打开时默认显示的时间,类型为:date" }, "el-date-picker/default-time": { "type": "string", "description": "范围选择时选中日期所使用的当日内具体时刻,类型为:string" }, "el-date-picker/value-format": { "type": "string", "description": "可选,绑定值的格式,不指定则绑定值为 `Date` 对象,类型为:string" }, "el-date-picker/name": { "type": "string", "description": "原生属性,类型为:string" }, "el-date-picker/unlink-panels": { "type": "boolean", "description": "在范围选择器里取消两个日期面板之间的联动,类型为:boolean" }, "el-date-picker/prefix-icon": { "type": "string", "description": "自定义头部图标的类名,类型为:string" }, "el-date-picker/clear-icon": { "type": "string", "description": "自定义清空图标的类名,类型为:string" }, "el-date-picker/validate-event": { "type": "boolean", "description": "输入时是否触发表单的校验,类型为:boolean" }, "el-date-picker/append-to-body": { "type": "boolean", "description": "`DatePicker` 自身是否插入至 `body` 元素上,类型为:boolean" }, "el-date-picker/visible-arrow": { "type": "boolean", "description": "是否显示 `Tooltip` 箭头,类型为:boolean" }, "el-date-picker/show-week-number": { "type": "boolean", "description": "是否显示周次,仅在周类型下有效,类型为:boolean" }, "el-date-picker/controllable": { "type": "boolean", "description": "是否键盘上下左右控制选择日期,当在多选日期时配置为 `true` 不会生效,类型为:boolean" }, "el-descriptions/border": { "type": "boolean", "description": "是否带有边框,类型为:boolean" }, "el-descriptions/column": { "type": "number", "description": "一行 `<el-descriptions-item>` 的数量,类型为:number" }, "el-descriptions/direction": { "type": "string", "description": "排列的方向,类型为:string", "options": [ "vertical", "horizontal" ] }, "el-descriptions/size": { "type": "string", "description": "列表的尺寸,继承全局尺寸,类型为:string", "options": [ "medium", "small", "mini" ] }, "el-descriptions/title": { "type": "string", "description": "标题文本,显示在左上方,类型为:string" }, "el-descriptions/extra": { "type": "string", "description": "操作区文本,显示在右上方,类型为:string" }, "el-descriptions/colon": { "type": "boolean", "description": "是否显示冒号,类型为:boolean" }, "el-descriptions/label-class-name": { "type": "string", "description": "自定义标签类名,类型为:string" }, "el-descriptions/content-class-name": { "type": "string", "description": "自定义内容类名,类型为:string" }, "el-descriptions/label-style": { "type": "object", "description": "自定义标签样式,类型为:object" }, "el-descriptions/content-style": { "type": "object", "description": "自定义内容样式,类型为:object" }, "el-descriptions/label-align": { "type": "string", "description": "`label` 标签对齐方式,类型为:string", "options": [ "left", "center", "right" ] }, "el-descriptions/label-width": { "type": "number", "description": "`label` 的宽度,类型为:number" }, "el-descriptions-item/label": { "type": "string", "description": "标签文本,类型为:string" }, "el-descriptions-item/span": { "type": "number", "description": "列的数量,类型为:number" }, "el-descriptions-item/rowspan": { "type": "number", "description": "单元格应该跨越的行数,类型为:number" }, "el-descriptions-item/label-align": { "type": "string", "description": "`label` 标签对齐方式(优先级高),类型为:string", "options": [ "left", "center", "right" ] }, "el-descriptions-item/label-width": { "type": "number", "description": "列的宽度(优先级高),类型为:number" }, "el-descriptions-item/label-class-name": { "type": "string", "description": "自定义标签类名,类型为:string" }, "el-descriptions-item/content-class-name": { "type": "string", "description": "自定义内容类名,类型为:string" }, "el-descriptions-item/label-style": { "type": "object", "description": "自定义标签样式,类型为:object" }, "el-descriptions-item/content-style": { "type": "object", "description": "自定义内容样式,类型为:object" }, "el-dialog/visible": { "type": "boolean", "description": "是否显示 `Dialog`,支持 `.sync` 修饰符,类型为:boolean" }, "el-dialog/title": { "type": "string", "description": "`Dialog` 的标题,也可通过具名 `slot` 传入,类型为:string" }, "el-dialog/width": { "type": "string", "description": "`Dialog` 的宽度,类型为:string" }, "el-dialog/height": { "type": "string", "description": "`Dialog` 的高度,类型为:string" }, "el-dialog/min-width": { "type": "string", "description": "`Dialog` 的最小宽度,类型为:string" }, "el-dialog/max-width": { "type": "string", "description": "`Dialog` 的最大宽度,类型为:string" }, "el-dialog/min-height": { "type": "string", "description": "`Dialog` 的最小高度,类型为:string" }, "el-dialog/max-height": { "type": "string", "description": "`Dialog` 的最大高度,类型为:string" }, "el-dialog/fullscreen": { "type": "boolean", "description": "是否为全屏 `Dialog`,类型为:boolean" }, "el-dialog/draggable": { "type": "boolean", "description": "是否可以通过拖动标题移动 `Dialog`,此属性设置后再改变不会生效,类型为:boolean" }, "el-dialog/resizable": { "type": "boolean", "description": "是否可以拖拽改变 `Dialog` 宽高,此属性设置后再改变不会生效,类型为:boolean" }, "el-dialog/top": { "type": "string", "description": "`Dialog` 中的 `margin-top` 值,类型为:string" }, "el-dialog/modal": { "type": "boolean", "description": "是否需要遮罩层,类型为:boolean" }, "el-dialog/penetrate": { "type": "boolean", "description": "是否可以穿透弹窗以外的内容,需要 `modal` 属性为 `false` 配合使用,类型为:boolean" }, "el-dialog/modal-append-to-body": { "type": "boolean", "description": "遮罩层是否插入至 `body` 元素上,若为 `false`,则遮罩层会插入至 `Dialog` 的父元素上,类型为:boolean" }, "el-dialog/append-to-body": { "type": "boolean", "description": "`Dialog` 自身是否插入至 `body` 元素上,嵌套的 `Dialog` 必须指定该属性并赋值为 `true`,类型为:boolean" }, "el-dialog/lock-scroll": { "type": "boolean", "description": "是否在 `Dialog` 出现时将 `body` 滚动锁定,类型为:boolean" }, "el-dialog/wrapper-class": { "type": "string", "description": "`Dialog Wrapper` 的自定义类名,类型为:string" }, "el-dialog/custom-class": { "type": "string", "description": "`Dialog` 的自定义类名,类型为:string" }, "el-dialog/close-on-click-modal": { "type": "boolean", "description": "是否可以通过点击 `modal` 关闭 `Dialog`,类型为:boolean" }, "el-dialog/close-on-press-escape": { "type": "boolean", "description": "是否可以通过按下 `ESC` 关闭 `Dialog`,类型为:boolean" }, "el-dialog/show-close": { "type": "boolean", "description": "是否显示关闭按钮,类型为:boolean" }, "el-dialog/before-close": { "type": "function", "description": "关闭前的回调,会暂停 `Dialog` 的关闭,类型为:function" }, "el-dialog/center": { "type": "boolean", "description": "是否对头部和底部采用居中布局,类型为:boolean" }, "el-dialog/destroy-on-close": { "type": "boolean", "description": "关闭时销毁 `Dialog` 中的元素,类型为:boolean" }, "el-divider/direction": { "type": "string", "description": "设置分割线方向,类型为:string", "options": [ "horizontal", "vertical" ] }, "el-divider/content-position": { "type": "string", "description": "设置分割线文案的位置,类型为:string", "options": [ "left", "right", "center" ] }, "el-drawer/append-to-body": { "type": "boolean", "description": "`Drawer` 自身是否插入至 `body` 元素上,嵌套的 `Drawer` 必须指定该属性并赋值为 `true`,类型为:boolean" }, "el-drawer/before-close": { "type": "function", "description": "关闭前的回调,会暂停 `Drawer` 的关闭,类型为:function" }, "el-drawer/close-on-press-escape": { "type": "boolean", "description": "是否可以通过按下 `ESC` 关闭 `Drawer`,类型为:boolean" }, "el-drawer/custom-class": { "type": "string", "description": "`Drawer` 的自定义类名,类型为:string" }, "el-drawer/destroy-on-close": { "type": "boolean", "description": "控制是否在关闭 `Drawer` 之后将子元素全部销毁,类型为:boolean" }, "el-drawer/modal": { "type": "boolean", "description": "是否需要遮罩层,类型为:boolean" }, "el-drawer/modal-append-to-body": { "type": "boolean", "description": "遮罩层是否插入至 `body` 元素上,若为 `false`,则遮罩层会插入至 `Drawer` 的父元素上,类型为:boolean" }, "el-drawer/direction": { "type": "string", "description": "`Drawer` 打开的方向,类型为:string", "options": [ "rtl", "ltr", "ttb", "btt" ] }, "el-drawer/show-close": { "type": "boolean", "description": "是否显示关闭按钮,类型为:boolean" }, "el-drawer/size": { "type": "number / string", "description": "`Drawer` 窗体的大小, 当使用 `Number` 类型时, 以像素为单位, 当使用 `String` 类型时, 请传入 `x%`, 否则便会以 `Number` 类型解释,类型为:number / string" }, "el-drawer/title": { "type": "string", "description": "`Drawer` 的标题,也可通过具名 `slot` 传入,类型为:string" }, "el-drawer/visible": { "type": "boolean", "description": "是否显示 `Drawer`,支持 `.sync` 修饰符,类型为:boolean" }, "el-drawer/wrapper-closable": { "type": "boolean", "description": "点击遮罩层是否可以关闭 `Drawer`,类型为:boolean" }, "el-drawer/with-header": { "type": "boolean", "description": "控制是否显示 `header` 栏, 默认为 `true`, 当此项为 `false` 时, `attribute` 和 `slot` 均不生效,类型为:boolean" }, "el-dropdown/type": { "type": "string", "description": "菜单按钮类型,同 `Button` 组件(只在 `split-button` 为 `true` 的情况下有效),类型为:string" }, "el-dropdown/size": { "type": "string", "description": "菜单尺寸,在 `split-button` 为 `true` 的情况下也对触发按钮生效,继承全局尺寸,类型为:string", "options": [ "medium", "small", "mini" ] }, "el-dropdown/disabled": { "type": "boolean", "description": "是否禁用,类型为:boolean" }, "el-dropdown/controllable": { "type": "boolean", "description": "是否键盘控制选择,类型为:boolean" }, "el-dropdown/split-button": { "type": "boolean", "description": "下拉触发元素呈现为按钮组,类型为:boolean" }, "el-dropdown/placement": { "type": "string", "description": "菜单弹出位置,类型为:string", "options": [ "top", "top-start", "top-end", "bottom", "bottom-start", "bottom-end", "left", "left-start", "left-end", "right", "right-start", "right-end" ] }, "el-dropdown/trigger": { "type": "string", "description": "触发下拉的行为,类型为:string", "options": [ "hover", "click", "contextmenu" ] }, "el-dropdown/hide-on-click": { "type": "boolean", "description": "是否在点击菜单项后隐藏菜单,类型为:boolean" }, "el-dropdown/show-timeout": { "type": "number", "description": "展开下拉菜单的延时(仅在 `trigger` 为 `hover` 时有效),类型为:number" }, "el-dropdown/hide-timeout": { "type": "number", "description": "收起下拉菜单的延时(仅在 `trigger` 为 `hover` 时有效),类型为:number" }, "el-dropdown/tabindex": { "type": "number / string", "description": "`Dropdown` 组件的 `tabindex`,类型为:number / string" }, "el-dropdown-menu/visible-arrow": { "type": "boolean", "description": "是否显示 `Tooltip` 箭头,类型为:boolean" }, "el-dropdown-menu/dropdown-max-width": { "type": "string / number", "description": "下拉框最大宽度,类型为:string / number" }, "el-dropdown-item/command": { "type": "string / number / object", "description": "指令,类型为:string / number / object" }, "el-dropdown-item/disabled": { "type": "boolean", "description": "禁用,类型为:boolean" }, "el-dropdown-item/divided": { "type": "boolean", "description": "显示分割线,类型为:boolean" }, "el-dropdown-item/icon": { "type": "string", "description": "图标类名,类型为:string" }, "el-empty/image": { "type": "string", "description": "图片地址,类型为:string" }, "el-empty/image-size": { "type": "number", "description": "图片大小(宽度),类型为:number" }, "el-empty/description": { "type": "string", "description": "文本描述,类型为:string" }, "el-form/model": { "type": "object", "description": "表单数据对象,类型为:object" }, "el-form/rules": { "type": "object", "description": "表单验证规则,类型为:object" }, "el-form/inline": { "type": "boolean", "description": "行内表单模式,类型为:boolean" }, "el-form/grid": { "type": "boolean", "description": "栅格表单模式,类型为:boolean" }, "el-form/symbol": { "type": "boolean", "description": "标题名称后带有冒号,类型为:boolean" }, "el-form/gutter": { "type": "number", "description": "栅格间隔,类型为:number" }, "el-form/label-position": { "type": "string", "description": "表单域标签的位置,如果值为 `left` 或者 `right` 时,则需要设置 `label-width`,类型为:string", "options": [ "right", "left", "top" ] }, "el-form/label-width": { "type": "string", "description": "表单域标签的宽度,例如 `50px`,作为 `Form` 直接子元素的 `FormItem` 会继承该值,支持 `auto` 宽度,类型为:string" }, "el-form/label-max-width": { "type": "string", "description": "表单域标签的最大宽度,当 `label-width` 为 `auto` 下生效,例如 `200px`,类型为:string" }, "el-form/label-ellipsis": { "type": "boolean", "description": "是否自动截断表单域文本,需要指定 `label-width`,如果为 `auto` 则不会生效,类型为:boolean" }, "el-form/label-suffix": { "type": "string", "description": "表单域标签的后缀,类型为:string" }, "el-form/hide-required-asterisk": { "type": "boolean", "description": "是否隐藏必填字段的标签旁边的红色星号,类型为:boolean" }, "el-form/show-message": { "type": "boolean", "description": "是否显示校验错误信息,类型为:boolean" }, "el-form/inline-message": { "type": "boolean", "description": "是否以行内形式展示校验信息,类型为:boolean" }, "el-form/status-icon": { "type": "boolean", "description": "是否在输入框中显示校验结果反馈图标,类型为:boolean" }, "el-form/validate-on-rule-change": { "type": "boolean", "description": "是否在 `rules` 属性改变后立即触发一次验证,类型为:boolean" }, "el-form/size": { "type": "string", "description": "用于控制该表单内组件的尺寸,继承全局尺寸,类型为:string", "options": [ "medium", "small", "mini" ] }, "el-form/disabled": { "type": "boolean", "description": "是否禁用该表单内的所有组件,若设置为 `true`,则表单内组件上的 `disabled` 属性不再生效,类型为:boolean" }, "el-form/scroll-to-error": { "type": "boolean", "description": "当校验失败时,滚动到第一个错误表单项,类型为:boolean" }, "el-form/scroll-into-view-options": { "type": "object / boolean", "description": "当校验有失败结果时,滚动到第一个失败的表单项目 可通过 [scrollIntoView](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView) 配置,类型为:object / boolean" }, "el-form-item/prop": { "type": "string", "description": "表单域 `model` 字段,在使用 `validate`、`resetFields` 方法的情况下,该属性是必填的,类型为:string" }, "el-form-item/label": { "type": "string", "description": "标签文本,类型为:string" }, "el-form-item/span": { "type": "number", "description": "栅格占据的列数,类型为:number" }, "el-form-item/label-width": { "type": "string", "description": "表单域标签的宽度,例如 `50px`,支持 `auto` 宽度,类型为:string" }, "el-form-item/required": { "type": "boolean", "description": "是否必填,如不设置,则会根据校验规则自动生成,类型为:boolean" }, "el-form-item/rules": { "type": "object", "description": "表单验证规则,类型为:object" }, "el-form-item/error": { "type": "string", "description": "表单域验证错误信息, 设置该值会使表单验证状态变为 `error`,并显示该错误信息,类型为:string" }, "el-form-item/show-message": { "type": "boolean", "description": "是否显示校验错误信息,类型为:boolean" }, "el-form-item/inline-message": { "type": "boolean", "description": "以行内形式展示校验信息,类型为:boolean" }, "el-form-item/size": { "type": "string", "description": "用于控制该表单域下组件的尺寸,继承全局尺寸或者表单尺寸,类型为:string", "options": [ "medium", "small", "mini" ] }, "el-image/src": { "type": "string", "description": "图片源,同原生,类型为:string" }, "el-image/fit": { "type": "string", "description": "确定图片如何适应容器框,同原生 `object-fit`,类型为:string", "options": [ "fill", "contain", "cover", "none", "scale-down" ] }, "el-image/alt": { "type": "string", "description": "原生 `alt`,类型为:string" }, "el-image/referrer-policy": { "type": "string", "description": "原生 `referrerPolicy`,类型为:string" }, "el-image/lazy": { "type": "boolean", "description": "是否开启懒加载,类型为:boolean" }, "el-image/loading": { "type": "string", "description": "浏览器加载图像的策略,和浏览器原生能力一致,类型为:string", "options": [ "eager", "lazy" ] }, "el-image/scroll-container": { "type": "string", "description": "开启懒加载后,监听 `scroll` 事件的容器,类型为:string" }, "el-image/preview-src-list": { "type": "array", "description": "开启图片预览功能,类型为:array" }, "el-image/z-index": { "type": "number", "description": "设置图片预览的 `z-index`,类型为:number" }, "el-image/append-to-body": { "type": "boolean", "description": "预览框是否插入 `body` 元素,处理 `Safari` 中 `z-index` 问题,类型为:boolean" }, "el-image/mask-closable": { "type": "boolean", "description": "点击遮罩层是否可以关闭预览,类型为:boolean" }, "el-image/width": { "type": "string", "description": "图片宽度,类型为:string" }, "el-image/height": { "type": "string", "description": "图片高度,类型为:string" }, "el-image/initial-index": { "type": "number", "description": "图片预览初始图片 `index`,类型为:number" }, "el-image/infinite": { "type": "boolean", "description": "是否可以无限循环预览,类型为:boolean" }, "el-image/zoom-rate": { "type": "number", "description": "图像查看器缩放事件的缩放速率,类型为:number" }, "el-image/min-scale": { "type": "number", "description": "图像查看器缩放事件的最小缩放比例,类型为:number" }, "el-image/max-scale": { "type": "number", "description": "图像查看器缩放事件的最大缩放比例,类型为:number" }, "el-input-number/value": { "type": "number", "description": "绑定值,类型为:number" }, "el-input-number/v-model": { "type": "number", "description": "绑定值,类型为:number" }, "el-input-number/default-value": { "type": "number / string", "description": "当用户清空输入框时设置的值,类型为:number / string", "options": [ "number", "undefined", "null", "'min'", "'max'" ] }, "el-input-number/min": { "type": "number", "description": "设置计数器允许的最小值,类型为:number" }, "el-input-number/max": { "type": "number", "description": "设置计数器允许的最大值,类型为:number" }, "el-input-number/step": { "type": "number", "description": "计数器步长,类型为:number" }, "el-input-number/step-strictly": { "type": "boolean", "description": "是否只能输入 `step` 的倍数,类型为:boolean" }, "el-input-number/precision": { "type": "number", "description": "数值精度,类型为:number" }, "el-input-number/size": { "type": "string", "description": "计数器尺寸,继承全局尺寸或者表单尺寸,类型为:string", "options": [ "medium", "small", "mini" ] }, "el-input-number/disabled": { "type": "boolean", "description": "是否禁用计数器,类型为:boolean" }, "el-input-number/controls": { "type": "boolean", "description": "是否使用控制按钮,类型为:boolean" }, "el-input-number/controls-position": { "type": "string", "description": "控制按钮位置,类型为:string" }, "el-input-number/name": { "type": "string", "description": "原生属性,类型为:string" }, "el-input-number/label": { "type": "string", "description": "输入框关联的 `label` 文字,类型为:string" }, "el-input-number/placeholder": { "type": "string", "description": "输入框默认 `placeholder`,类型为:string" }, "el-input-range/type": { "type": "string", "description": "类型,类型为:string", "options": [ "button", "checkbox", "file", "hidden", "image", "password", "radio", "reset", "submit", "text", "color", "date", "datetime", "datetime-local", "email", "month", "number", "range", "search", "tel", "time", "url", "week" ] }, "el-input-range/value": { "type": "array", "description": "绑定值,类型为:array" }, "el-input-range/v-model": { "type": "array", "description": "绑定值,类型为:array" }, "el-input-range/maxlength": { "type": "number", "description": "原生属性,最大输入长度,类型为:number" }, "el-input-range/minlength": { "type": "number", "description": "原生属性,最小输入长度,类型为:number" }, "el-input-range/start-placeholder": { "type": "string", "description": "开始占位文本,类型为:string" }, "el-input-range/end-placeholder": { "type": "string", "description": "结束占位文本,类型为:string" }, "el-input-range/separator": { "type": "string", "description": "分隔符,类型为:string" }, "el-input-range/prefix": { "type": "string", "description": "前缀符,类型为:string" }, "el-input-range/suffix": { "type": "string", "description": "后缀符,类型为:string" }, "el-input-range/clearable": { "type": "boolean", "description": "是否可清空,类型为:boolean" }, "el-input-range/disabled": { "type": "boolean", "description": "禁用,类型为:boolean" }, "el-input-range/size": { "type": "string", "description": "输入框尺寸,继承全局尺寸或者表单尺寸,类型为:string", "options": [ "medium", "small", "mini" ] }, "el-input-range/name": { "type": "string", "description": "原生属性,类型为:string" }, "el-input-range/readonly": { "type": "boolean", "description": "原生属性,是否只读,类型为:boolean" }, "el-input-range/max": { "type": "number", "description": "原生属性,设置最大值,类型为:number" }, "el-input-range/min": { "type": "number", "description": "原生属性,设置最小值,类型为:number" }, "el-input-range/autofocus": { "type": "boolean", "description": "原生属性,自动获取焦点,类型为:boolean" }, "el-input-range/form": { "type": "string", "description": "原生属性,类型为:string" }, "el-input-range/tabindex": { "type": "number / string", "description": "输入框的 `tabindex`,类型为:number / string" }, "el-input-range/validate-event": { "type": "boolean", "description": "输入时是否触发表单的校验,类型为:boolean" }, "el-input/type": { "type": "string", "description": "类型,类型为:string", "options": [ "text", "textarea", "button", "checkbox", "file", "hidden", "image", "password", "radio", "reset", "submit", "text", "color", "date", "datetime", "datetime-local", "email", "month", "number", "range", "search", "tel", "time", "url", "week" ] }, "el-input/value": { "type": "string / number", "description": "绑定值,类型为:string / number" }, "el-input/v-model": { "type": "string / number", "description": "绑定值,类型为:string / number" }, "el-input/maxlength": { "type": "number", "description": "原生属性,最大输入长度,类型为:number" }, "el-input/minlength": { "type": "number", "description": "原生属性,最小输入长度,类型为:number" }, "el-input/show-word-limit": { "type": "boolean", "description": "是否显示输入字数统计,只在 `type='text'` 或 `type='textarea'` 时有效,类型为:boolean" }, "el-input/placeholder": { "type": "string", "description": "输入框占位文本,类型为:string" }, "el-input/clearable": { "type": "boolean", "description": "是否可清空,类型为:boolean" }, "el-input/show-password": { "type": "boolean", "description": "是否显示切换密码图标,类型为:boolean" }, "el-input/disabled": { "type": "boolean", "description": "禁用,类型为:boolean" }, "el-input/size": { "type": "string", "description": "输入框尺寸,只在 `type!='textarea'` 时有效,继承全局尺寸或者表单尺寸,类型为:string", "options": [ "medium", "small", "mini" ] }, "el-input/prefix-icon": { "type": "string", "description": "输入框头部图标,类型为:string" }, "el-input/suffix-icon": { "type": "string", "description": "输入框尾部图标,类型为:string" }, "el-input/rows": { "type": "number", "description": "输入框行数,只对 `type='textarea'` 有效,类型为:number" }, "el-input/autosize": { "type": "boolean / object", "description": "自适应内容高度,只对 `type='textarea'` 有效,一旦开启自适应,`resize` 属性将强制为 `none`,可传入对象,如`{ minRows: 2, maxRows: 6 }`,类型为:boolean / object" }, "el-input/autocomplete": { "type": "string", "description": "原生属性,自动补全,类型为:string", "options": [ "on", "off" ] }, "el-input/name": { "type": "string", "description": "原生属性,类型为:string" }, "el-input/readonly": { "type": "boolean", "description": "原生属性,是否只读,类型为:boolean" }, "el-input/max": { "type": "number", "description": "原生属性,设置最大值,类型为:number" }, "el-input/min": { "type": "number", "description": "原生属性,设置最小值,类型为:number" }, "el-input/step": { "type": "number", "description": "原生属性,设置输入字段的合法数字间隔,类型为:number" }, "el-input/resize": { "type": "string", "description": "控制是否能被用户缩放,`IE` 下无效,类型为:string", "options": [ "none", "both", "horizontal", "vertical" ] }, "el-input/autofocus": { "type": "boo