Skip to content

Commit

Permalink
doc:update docs & demo title
Browse files Browse the repository at this point in the history
  • Loading branch information
xxyan0205 committed Jun 15, 2018
1 parent d9f7268 commit dd00e7d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
17 changes: 9 additions & 8 deletions components/action-sheet/README.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,15 @@ Vue.component(ActionSheet.name, ActionSheet)
### API

#### ActionSheet Props
|Props | Description | Type | Default |
|----|-----|------|------|------|
|v-model|display actionsheet or not|Boolean|`false`|
|title|title of actionsheet|String|-
|options|options of actionsheet|Array<{text, value}>| []
|default-index|default selected index|Boolean|0
|invalid-index|invalid index|Number| -1
|cancel-text|cancel text|String|-
|Props | Description | Type | Default | Note |
|----|-----|------|------|------|------|
|v-model|display actionsheet or not|Boolean|`false`|-|
|title|title of actionsheet|String|-|-|
|options|options of actionsheet|Array<{text, value}>| [] |-|
|default-index|default selected index|Boolean|0|-|
|invalid-index|invalid index|Number| -1|-|
|cancel-text|cancel text|String|-|-|
|max-height|the maximum height of actionsheet area|Number|`400`|unit `px`|


#### ActionSheet Events
Expand Down
16 changes: 8 additions & 8 deletions components/action-sheet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ Vue.component(ActionSheet.name, ActionSheet)
### API

#### ActionSheet Props
|属性 | 说明 | 类型 | 默认值 |
|----|-----|------|------|
|v-model|面板是否可见|Boolean| `false`|
|title|面板标题|String|- |
|options|面板选项| Array<{text, value}>| `[]`|
|default-index|默认选中项| Boolean| `0`|
|invalid-index|禁用选择项索引 |Number|`-1`|
|cancel-text|取消按钮文案 |String |-|
|属性 | 说明 | 类型 | 默认值 | 备注 |
|----|-----|------|------|------|
|v-model|面板是否可见|Boolean| `false`|-|
|title|面板标题|String|-|-|
|options|面板选项| Array<{text, value}>| `[]`|-|
|default-index|默认选中项| Boolean| `0`|-|
|invalid-index|禁用选择项索引 |Number|`-1`|-|
|cancel-text|取消按钮文案 |String |-|-|
|max-height|面板最高高度, 超出后可滚动|Number|400|单位`px`|

#### ActionSheet Events
Expand Down
1 change: 0 additions & 1 deletion components/notice-bar/demo/cases/demo0.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
export default {
name: 'notice-bar-demo',
/* DELETE */
title: '基本',
codeSandBox: 'https://codesandbox.io/s/xl4wrl0194',
/* DELETE */
components: {
Expand Down

0 comments on commit dd00e7d

Please sign in to comment.