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
b4215561
Commit
b4215561
authored
Dec 20, 2016
by
hisland
Committed by
cinwell.li
Dec 20, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Radio: fix doc, text-color,fill are Radio-group's props
parent
51fab864
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
examples/docs/en-US/radio.md
examples/docs/en-US/radio.md
+2
-2
examples/docs/zh-CN/radio.md
examples/docs/zh-CN/radio.md
+2
-2
No files found.
examples/docs/en-US/radio.md
View file @
b4215561
...
@@ -124,6 +124,8 @@ name | native 'name' attribute | string | — | —
...
@@ -124,6 +124,8 @@ name | native 'name' attribute | string | — | —
Attribute | Description | Type | Accepted Values | Default
Attribute | Description | Type | Accepted Values | Default
---- | ---- | ---- | ---- | ----
---- | ---- | ---- | ---- | ----
size | the size of radio buttons | string | large/small | —
size | the size of radio buttons | string | large/small | —
fill | border and background color when button is active | string | — | #20a0ff |
text-color | font color when button is active | string | — | #ffffff |
### Radio-group Events
### Radio-group Events
...
@@ -137,7 +139,5 @@ change | triggers when the bound value changes | the label value of the chosen r
...
@@ -137,7 +139,5 @@ change | triggers when the bound value changes | the label value of the chosen r
---- | ---- | ---- | ---- | ----
---- | ---- | ---- | ---- | ----
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
fill | border and background color when button is active | string | — | #20a0ff |
text-color | font color when button is active | string | — | #ffffff |
examples/docs/zh-CN/radio.md
View file @
b4215561
...
@@ -127,6 +127,8 @@
...
@@ -127,6 +127,8 @@
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|---------- |-------- |---------- |------------- |-------- |
|---------- |-------- |---------- |------------- |-------- |
| size | Radio 按钮组尺寸 | string | large, small | — |
| size | Radio 按钮组尺寸 | string | large, small | — |
| fill | 按钮激活时的填充色和边框色 | string | — | #20a0ff |
| text-color | 按钮激活时的文本颜色 | string | — | #ffffff |
### Radio-group Events
### Radio-group Events
| 事件名称 | 说明 | 回调参数 |
| 事件名称 | 说明 | 回调参数 |
...
@@ -138,5 +140,3 @@
...
@@ -138,5 +140,3 @@
|---------- |-------- |---------- |------------- |-------- |
|---------- |-------- |---------- |------------- |-------- |
| label | Radio 的 value | string,number | — | — |
| label | Radio 的 value | string,number | — | — |
| disabled | 是否禁用 | boolean | — | false |
| disabled | 是否禁用 | boolean | — | false |
| fill | 按钮激活时的填充色和边框色 | string | — | #20a0ff |
| text-color | 按钮激活时的文本颜色 | string | — | #ffffff |
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