Skip to content

Commit

Permalink
upd: swiper is-center
Browse files Browse the repository at this point in the history
  • Loading branch information
szg2008 committed Dec 29, 2022
1 parent 39369a0 commit 2d96a72
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/packages/__VUE/overlay/doc.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ Set `close on click override` to control whether the click mask is closed. If it
| ---------------------- | ---------------- | -------------- | ------ |
| v-model:visible | Control the display/hide of masks | boolean | `false` |
| z-index | Custom Mask Level | string, number | `2000` |
| duration | Display/hide animation duration, in seconds | string, string | `0.3` |
| duration | Display/hide animation duration, in seconds | string, number | `0.3` |
| overlay-class | Custom mask class name | string | - |
| overlay-style | Custom Mask Style | CSSProperties | - |
| lock-scroll | Whether the background is locked when the mask is displayed | boolean | `false` |
Expand Down
2 changes: 1 addition & 1 deletion src/packages/__VUE/overlay/doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ app.use(OverLay);
| ---------------------- | ---------------- | -------------- | ------ |
| v-model:visible | 控制遮罩的显示/隐藏 | boolean | `false` |
| z-index | 自定义遮罩层级 | string, number | `2000` |
| duration | 显示/隐藏的动画时长,单位秒 | string, string | `0.3` |
| duration | 显示/隐藏的动画时长,单位秒 | string, number | `0.3` |
| overlay-class | 自定义遮罩类名 | string | - |
| overlay-style | 自定义遮罩样式 | CSSProperties | - |
| lock-scroll | 遮罩显示时的背景是否锁定 | boolean | `false` |
Expand Down
1 change: 0 additions & 1 deletion src/packages/__VUE/swiper/doc.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,6 @@ You can manually switch through `api` (`prev`, `next`)
| touchable | if touchable to slide | Boolean | true |
| is-prevent-default | Disable default events during sliding | Boolean | true |
| is-stop-propagation | Is bubbling prohibited during sliding | Boolean | true |
| is-center| The corresponding `width` and `height` must be passed to determine whether to display in the middle` | Boolean | false |



Expand Down
1 change: 0 additions & 1 deletion src/packages/__VUE/swiper/doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,6 @@ app.use(SwiperItem);
| touchable | 是否可触摸滑动 | Boolean | true |
| is-prevent-default | 滑动过程中是否禁用默认事件 | Boolean | true |
| is-stop-propagation | 滑动过程中是否禁止冒泡 | Boolean | true |
| is-center | 是否居中展示,必须传对应的`width``height` | Boolean | false |



Expand Down
4 changes: 0 additions & 4 deletions src/packages/__VUE/swiper/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,6 @@ export default create({
isStopPropagation: {
type: Boolean,
default: true
},
isCenter: {
type: Boolean,
default: false
}
},
emits: ['change'],
Expand Down

0 comments on commit 2d96a72

Please sign in to comment.