Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file modified LICENSE
100644 → 100755
Empty file.
Empty file modified README.md
100644 → 100755
Empty file.
30 changes: 27 additions & 3 deletions element-attributes.json
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"minlength": {"description": "minimum Input text length"},
"rows": {"description": "number of rows of textarea, only works when type is 'textarea'"},
"autosize": {"description": "whether textarea has an adaptive height, only works when type is 'textarea'. Can accept an object, e.g. { minRows: 2, maxRows: 6 }"},
"auto-complete": {"options": ["one", "off"]},
"auto-complete": {"version": "<2.4.7", "options": ["one", "off"]},
"form": {"description": "same as 'form' in native input"},
"custom-item": {"version": "<2.0.0", "description": "component name of your customized suggestion list item"},
"fetch-suggestions": {"description": "a method to fetch input suggestions. When suggestions are ready, invoke callback(data:[]) to return them to Autocomplete"},
Expand Down Expand Up @@ -171,8 +171,15 @@
"show-timeout": {"description": "Delay time before show a dropdown, default: 250"},
"hide-timeout": {"description": "Delay time before hide a dropdown, default: 150"},
"default-time": {"description": "The time value to use when selecting date range, type: string[]"},
"autocomplete": {"version": ">=2.4.7", "options": ["one", "off"], "description": "same as autocomplete in native input, default: off"},
"precision": {"version": ">=2.4.0", "description": "precision of input value"},
"before-leave": {"version": ">=2.4.0", "description": "hook function before switching tab. If false is returned or a Promise is returned and then is rejected, switching will be prevented"},
"pager-count": {"version": ">=2.3.5", "description": "number of pagers(odd number between 5 and 21). Pagination collapses when the total page count exceeds this value, default: 7"},
"target-order": {"version": ">=2.2.1", "options": ["original", "push", "unshift"], "description": "order strategy for elements in the target list. If set to 'original', the elements will keep the same order as the data source. If set to 'push', the newly added elements will be pushed to the bottom. If set to 'unshift', the newly added elements will be inserted on the top, default: original"},
"input-size": {"version": ">=2.2.1", "options": ["large", "medium", "small", "mini"], "description": "size of the input box, default: small"},
"shadow": {"version": ">=2.3.3", "options": ["always", "hover", "never"], "description": "when to show card shadows, default: always"},
"el-container/direction": {"options": ["horizontal", "vertical"], "description": "vertical when nested with el-header or el-footer; horizontal otherwise"},
"el-autocomplete/placement": {"version": ">=2.3.3", "options": ["top", "top-start", "top-end", "bottom", "bottom-start", "bottom-end"], "description": "placement of the popup menu, default: bottom-start"},
"el-submenu/show-timeout": {"version": ">=2.0.11", "description": "timeout before showing a sub-menu, default: 300"},
"el-submenu/hide-timeout": {"version": ">=2.0.11", "description": "timeout before hiding a sub-menu, default: 300"},
"el-input/on-icon-click": {"version": "<2.0.0", "description": "hook function when clicking on the input icon"},
Expand Down Expand Up @@ -221,6 +228,7 @@
"el-table-column/type": {"options": ["selection", "index", "expand"], "description": "type of the column. If set to 'selection', the column will display checkbox. If set to 'index', the column will display index of the row (staring from 1). If set to 'expand', the column will display expand icon."},
"el-tag/type": {"options": ["info", "success", "warning", "danger"], "description": "theme"},
"el-alert/type": {"options": ["success", "warning", "info", "danger"], "description": "component type"},
"el-badge/type": {"version": ">=2.4.9", "options": ["primary", "success", "warning", "danger", "info"], "description": "button type"},
"el-checkbox-group/min": {"description": "minimum number of checkbox checked"},
"el-input-number/min": {"description": "the minimum allowed value"},
"el-slider/min": {"description": "minimum value, defalult: 0"},
Expand Down Expand Up @@ -294,6 +302,10 @@
"el-collapse/accordion": {"type": "boolean", "description": "whether to activate accordion mode, default: false"},
"el-tree/accordion": {"type": "boolean", "description": "whether only one node among the same level can be expanded at one time, default: false"},
"el-button/round": {"version": ">=2.0.0", "type": "boolean", "description": "determine whether it's a round button, default: false"},
"el-submenu/popper-append-to-body": {"version": ">=2.3.3", "type": "boolean", "description": "whether to append the popup menu to body. If the positioning of the menu is wrong, you can try setting this prop, default: level one Submenu: true / other Submenus: false"},
"el-autocomplete/popper-append-to-body": {"version": ">=2.4.6", "type": "boolean", "description": "whether to append the dropdown to body. If the positioning of the dropdown is wrong, you can try to set this prop to false, default: true"},
"el-carousel/loop": {"version": ">=2.4.10", "type": "boolean", "description": "display the items in loop, default: true"},
"el-date-picker/validate-event": {"version": ">=2.5.0", "type": "boolean", "description": "whether to trigger form validation, default: true"},
"change": {"type": "method"},
"select": {"type": "method"},
"click": {"type": "method"},
Expand All @@ -309,6 +321,7 @@
"el-input/click": {"version": "<2.0.0", "type": "method"},
"el-menu/open": {"version": ">=2.0.0", "type": "method"},
"el-menu/close": {"version": ">=2.0.0", "type": "method"},
"el-tag/click": {"version": ">=2.5.0", "type": "method", "description": "triggers when Tag is clicked"},
"check": {"version": ">=2.2.0", "type": "method", "description": "triggers after clicking the checkbox of a node"},
"show": {"type": "method", "description": "triggers when popover shows"},
"hide": {"type": "method", "description": "triggers when popover hides"},
Expand Down Expand Up @@ -347,15 +360,21 @@
"node-drag-end": {"version": ">=2.3.0", "type": "method", "description": "triggers when dragging ends"},
"node-drop": {"version": ">=2.3.0", "type": "method", "description": "triggers after the dragging node is dropped"},
"validate": {"version": ">=2.3.0", "type": "method", "description": "triggers after a form item is validated"},
"prev-click": {"version": ">=2.3.5", "type": "method", "description": "triggers when the prev button is clicked and current page changes"},
"next-click": {"version": ">=2.3.5", "type": "method", "description": "triggers when the next button is clicked and current page changes"},
"closed": {"version": ">=2.4.1", "type": "method", "description": "triggers when the Dialog closing animation ends"},
"opened": {"version": ">=2.4.8", "type": "method", "description": "triggers when the Dialog opening animation ends"},
"el-table/select": {"type": "method", "description": "triggers when user clicks the checkbox in a row, arg: selection, row"},
"el-tag/close": {"type": "method", "description": "triggers when Tab is removed"},
"el-tree/current-change": {"type": "method", "description": "triggers when current node changes"},
"el-pagination/current-change": {"type": "method", "description": "triggers when 'current-page' changes"},
"el-dropdown/command": {"type": "method", "description": "triggers when a dropdown item is clicked"},
"el-input/clear": {"version": ">=2.2.2", "type": "method", "descriptino": "triggers when the Input is cleared by the button which generated by the 'clearable' attribute"},
"el-select/clear": {"type": "method", "descriptino": "triggers when the clear icon is clicked in a clearable Select"},
"el-input/clear": {"version": ">=2.2.2", "type": "method", "description": "triggers when the Input is cleared by the button which generated by the 'clearable' attribute"},
"el-select/clear": {"type": "method", "description": "triggers when the clear icon is clicked in a clearable Select"},
"el-autocomplete/clear": {"type": "method", "version": ">=2.4.10", "description": "triggers when the clear icon is clicked in a clearable Select"},
"el-popover/after-enter": {"version": ">=2.2.2", "type": "method", "description": "triggers when the entering transition ends"},
"el-popover/after-leave": {"version": ">=2.2.2", "type": "method", "description": "triggers when the leaving transition ends"},
"el-cascader/visible-change": {"version": ">=2.4.10", "type": "method", "description": "triggers when the dropdown appears/disappears, parameters: true when it appears, and false otherwise"},
"readonly": {"type": "flag"},
"multiple": {"type": "flag"},
"clearable": {"type": "flag"},
Expand All @@ -378,6 +397,10 @@
"simple": {"version": ">=2.0.0", "type": "flag"},
"el-radio/border": {"version": ">=2.0.0", "type": "flag"},
"el-checkbox/border": {"version": ">=2.0.0", "type": "flag"},
"stretch": {"version": ">=2.4.1", "type": "flag", "description": "whether width of tab automatically fits its container"},
"lazy": {"version": ">=2.4.0", "type": "flag", "description": "whether Tab is lazily rendered"},
"hide-loading": {"version": ">=2.4.0", "type": "flag", "description": "whether to hide the loading icon in remote search"},
"automatic-dropdown": {"version": ">=2.3.5", "type": "flag", "description": "for non-filterable Select, this prop decides if the option menu pops up when the input is focused"},
"draggable": {"version": ">=2.3.0", "type": "flag", "description": "whether enable tree nodes drag and drop"},
"unlink-panels": {"version": ">=2.0.0", "type": "flag", "description": "unlink two date-panels in range-picker"},
"reserve-keyword": {"version": ">=2.0.0", "type": "flag", "description": "when 'multiple' and 'filter' is true, whether to reserve current keyword after selecting an option"},
Expand Down Expand Up @@ -457,6 +480,7 @@
"off-icon-class": {"version": "<2.0.0", "type": "icon", "description": "class name of the icon displayed when in off state, overrides 'off-text', version < 2"},
"active-icon-class": {"version": ">=2.0.0", "type": "icon", "description": "class name of the icon displayed when in on state, overrides 'active-text', version >= 2"},
"inactive-icon-class": {"version": ">=2.0.0", "type": "icon", "description": "class name of the icon displayed when in off state, overrides 'inactive-text', version >= 2"},
"el-tree/icon-class": { "version": ">=2.4.10", "type": "icon", "description": "custome tree node icon"},
"prefix-icon": {"version": ">=2.0.0", "type":"flag", "description": "prefix icon class"},
"suffix-icon": {"version": ">=2.0.0", "type":"flag", "description": "suffix icon class"},
"icon": {"type": "shortcut-icon"},
Expand Down
Loading