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
a96a0791
Commit
a96a0791
authored
Dec 26, 2016
by
baiyaaaaa
Committed by
杨奕
Dec 26, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update docs
parent
22360be8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
examples/docs/en-US/collapse.md
examples/docs/en-US/collapse.md
+8
-8
examples/docs/zh-CN/collapse.md
examples/docs/zh-CN/collapse.md
+1
-1
No files found.
examples/docs/en-US/collapse.md
View file @
a96a0791
...
@@ -133,18 +133,18 @@ At the same time only one item can be opened.
...
@@ -133,18 +133,18 @@ At the same time only one item can be opened.
:::
:::
### Collapse Attributes
### Collapse Attributes
|
Attribute | Description | Type | Accepted Values | Default
|
|
参数 | 说明 | 类型 | 可选值 | 默认值
|
|---------- |-------------- |---------- |-------------------------------- |-------- |
|---------- |-------------- |---------- |-------------------------------- |-------- |
| accordion |
whether is accordion mode
| boolean | — | false |
| accordion |
是否手风琴模式
| boolean | — | false |
| value |
the active item's name
| string/array | — | — |
| value |
当前激活的面板(如果是手风琴模式,绑定值类型需要为
`string`
,否则为
`array`
)
| string/array | — | — |
### Collapse Events
### Collapse Events
|
Event Name | Description | Parameters
|
|
事件名称 | 说明 | 回调参数
|
|---------|---------|---------|
|---------|---------|---------|
| change |
trigger when the active names change | (activeNames: array
) |
| change |
当前激活面板改变时触发(如果是手风琴模式,参数
`activeNames`
类型为
`string`
,否则为
`array`
) | (activeNames: array
\|
string
) |
### Collapse Item Attributes
### Collapse Item Attributes
|
Attribute | Description | Type | Accepted Values | Default
|
|
参数 | 说明 | 类型 | 可选值 | 默认值
|
|---------- |-------------- |---------- |-------------------------------- |-------- |
|---------- |-------------- |---------- |-------------------------------- |-------- |
| name | unique identifier | string/number | — | — |
| name | 唯一标志符 | string/number | — | — |
| title | title | string | — | — |
| title | 面板标题 | string | — | — |
\ No newline at end of file
\ No newline at end of file
examples/docs/zh-CN/collapse.md
View file @
a96a0791
...
@@ -141,7 +141,7 @@
...
@@ -141,7 +141,7 @@
### Collapse Events
### Collapse Events
| 事件名称 | 说明 | 回调参数 |
| 事件名称 | 说明 | 回调参数 |
|---------|---------|---------|
|---------|---------|---------|
| change | 当前激活面板改变时触发(如果是手风琴模式,参数
`activeNames`
类型为
`string`
,否则为
`array`
) | (activeNames: array
\|
array
) |
| change | 当前激活面板改变时触发(如果是手风琴模式,参数
`activeNames`
类型为
`string`
,否则为
`array`
) | (activeNames: array
\|
string
) |
### Collapse Item Attributes
### Collapse Item 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