Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Element
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
林焕东
Element
Commits
7036276b
Commit
7036276b
authored
Apr 23, 2017
by
杨奕
Committed by
baiyaaaaa
Apr 23, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Checkbox: update doc (#4379)
parent
91476e5c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
examples/docs/zh-CN/checkbox.md
examples/docs/zh-CN/checkbox.md
+4
-5
No files found.
examples/docs/zh-CN/checkbox.md
View file @
7036276b
...
...
@@ -197,11 +197,11 @@
:::
###
Button style (to be translated)
###
按钮样式
Checkbox with button styles.
按钮样式的多选组合。
:::demo 只需要把
`el-checkbox`
元素
换成
`el-checkbox-button`
元素即可,此外,Element 还提供了
`size`
属性给按钮组,支持
`large`
和
`small`
两种(如果不设定为默认)
:::demo 只需要把
`el-checkbox`
元素
替换为
`el-checkbox-button`
元素即可。此外,Element 还提供了
`size`
属性,支持
`large`
和
`small`
两种。
```
html
<template>
<div
style=
"margin: 15px 0;"
></div>
...
...
@@ -245,7 +245,7 @@ Checkbox with button styles.
| checked | 当前是否勾选 | boolean | — | false |
| indeterminate | 设置 indeterminate 状态,只负责样式控制 | boolean | — | false |
### Checkbox-group Attributes
(to be translated)
### Checkbox-group Attributes
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|---------- |-------- |---------- |------------- |-------- |
| size | Checkbox 按钮组尺寸 | string | large, small | — |
...
...
@@ -254,7 +254,6 @@ Checkbox with button styles.
| min | 可被勾选的 checkbox 的最大数量 | number | — | — |
| max | 可被勾选的 checkbox 的最小数量 | number | — | — |
### Checkbox-group Events
| 事件名称 | 说明 | 回调参数 |
|---------- |-------- |---------- |
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment