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
43ce738a
Commit
43ce738a
authored
Nov 14, 2016
by
杨奕
Committed by
cinwell.li
Nov 14, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Checkbox/Radio: add 'name' on doc (#1049)
parent
b207d745
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
0 deletions
+4
-0
examples/docs/en-US/checkbox.md
examples/docs/en-US/checkbox.md
+1
-0
examples/docs/en-US/radio.md
examples/docs/en-US/radio.md
+1
-0
examples/docs/zh-CN/checkbox.md
examples/docs/zh-CN/checkbox.md
+1
-0
examples/docs/zh-CN/radio.md
examples/docs/zh-CN/radio.md
+1
-0
No files found.
examples/docs/en-US/checkbox.md
View file @
43ce738a
...
@@ -99,6 +99,7 @@ It is used for multiple checkboxes which are bound in one group, and indicates w
...
@@ -99,6 +99,7 @@ It is used for multiple checkboxes which are bound in one group, and indicates w
| label | value of the checkbox when used inside a
`checkbox-group`
| string | — | — |
| label | value of the checkbox when used inside a
`checkbox-group`
| string | — | — |
| true-label | value of the checkbox if it's checked | string, number | — | — |
| true-label | value of the checkbox if it's checked | string, number | — | — |
| false-label | value of the checkbox if it's not checked | string, number | — | — |
| false-label | value of the checkbox if it's not checked | string, number | — | — |
| name | native 'name' attribute | string | — | — |
| disabled | if the checkbox is disabled | boolean | — | false |
| disabled | if the checkbox is disabled | boolean | — | false |
| checked | if the checkbox is checked | boolean | — | false |
| checked | if the checkbox is checked | boolean | — | false |
| indeterminate | same as
`indeterminate`
in native checkbox | boolean | — | false |
| indeterminate | same as
`indeterminate`
in native checkbox | boolean | — | false |
...
...
examples/docs/en-US/radio.md
View file @
43ce738a
...
@@ -107,6 +107,7 @@ Radio with button styles.
...
@@ -107,6 +107,7 @@ Radio with button styles.
---- | ---- | ---- | ---- | ----
---- | ---- | ---- | ---- | ----
label | the value of radio | string/number | — | —
label | the value of radio | string/number | — | —
disabled | whether radio is disabled | boolean | — | false
disabled | whether radio is disabled | boolean | — | false
name | native 'name' attribute | string | — | —
### Radio-group Attributes
### Radio-group Attributes
...
...
examples/docs/zh-CN/checkbox.md
View file @
43ce738a
...
@@ -114,6 +114,7 @@
...
@@ -114,6 +114,7 @@
| label | 选中状态的值(只有在
`checkbox-group`
或者绑定对象类型为
`array`
时有效)| string | — | — |
| label | 选中状态的值(只有在
`checkbox-group`
或者绑定对象类型为
`array`
时有效)| string | — | — |
| true-label | 选中时的值 | string, number | — | — |
| true-label | 选中时的值 | string, number | — | — |
| false-label | 没有选中时的值 | string, number | — | — |
| false-label | 没有选中时的值 | string, number | — | — |
| name | 原生 name 属性 | string | — | — |
| disabled | 按钮禁用 | boolean | — | false |
| disabled | 按钮禁用 | boolean | — | false |
| checked | 当前是否勾选 | boolean | — | false |
| checked | 当前是否勾选 | boolean | — | false |
| indeterminate | 设置 indeterminate 状态,只负责样式控制 | boolean | — | false |
| indeterminate | 设置 indeterminate 状态,只负责样式控制 | boolean | — | false |
...
...
examples/docs/zh-CN/radio.md
View file @
43ce738a
...
@@ -121,6 +121,7 @@
...
@@ -121,6 +121,7 @@
|---------- |-------- |---------- |------------- |-------- |
|---------- |-------- |---------- |------------- |-------- |
| label | Radio 的 value | string,number | — | — |
| label | Radio 的 value | string,number | — | — |
| disabled | 是否禁用 | boolean | — | false |
| disabled | 是否禁用 | boolean | — | false |
| name | 原生 name 属性 | string | — | — |
### Radio-group Attributes
### Radio-group Attributes
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
...
...
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