File tree Expand file tree Collapse file tree 4 files changed +7
-4
lines changed Expand file tree Collapse file tree 4 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,9 @@ Vue.use(VueBottomSheet);
70
70
| max-height | String | Set max-height of component card | ` max-height="90%" ` |
71
71
| effect | String | Set effect for component card | ` effect="fx-fadein-scale" ` |
72
72
| rounded | Boolean | Round the top two corners of the sheet | ` :rounded="false" ` |
73
+ | is-full-screen | Boolean | Enable or disable full-screen mode | ` :is-full-screen="true" ` |
74
+ | swipe-able | Boolean | Enable or disable swipe to close | ` :swipe-able="false" ` |
75
+ | overlay-color | Boolean | Set overlay color with opacity | ` :overlay-color="#0000004D" ` |
73
76
74
77
## Events
75
78
Original file line number Diff line number Diff line change @@ -69,6 +69,9 @@ Vue.use(VueBottomSheet);
69
69
| max-height | String | Устанавливает максимальную высоту карточки компонента | ` max-height="90%" ` |
70
70
| effect | String | Устанавливает эффект появление карточки компонента | ` effect="fx-fadein-scale" ` |
71
71
| rounded | Boolean | Включает скругление 2 верхних углов компонента | ` :rounded="false" ` |
72
+ | is-full-screen | Boolean | Включает и выключает полноэкранный режим | ` :is-full-screen="true" ` |
73
+ | swipe-able | Boolean | Включает и выключает возможность закрытия окна свайпом | ` :swipe-able="false" ` |
74
+ | overlay-color | Boolean | Задаёт цвет оверлея | ` :overlay-color="#0000004D" ` |
72
75
73
76
## События
74
77
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @webzlodimir/vue-bottom-sheet" ,
3
- "version" : " 1.2.3 " ,
3
+ "version" : " 1.2.4 " ,
4
4
"description" : " " ,
5
5
"repository" : {
6
6
"type" : " git" ,
Original file line number Diff line number Diff line change @@ -108,9 +108,6 @@ export default {
108
108
move (event , type ) {
109
109
if (this .swipeAble ) {
110
110
let delta = - event .deltaY ;
111
- if (type === " content" && this .contentScroll === 0 ) {
112
- type = " pan" ;
113
- }
114
111
if (
115
112
(type === ' content' && event .type === ' panup' ) ||
116
113
(type === ' content' && event .type === ' pandown' && this .contentScroll > 0 )
You can’t perform that action at this time.
0 commit comments