Update scroll.vue
This commit is contained in:
parent
0285837c09
commit
cd3f1a1fe7
1 changed files with 6 additions and 2 deletions
|
@ -55,7 +55,11 @@
|
||||||
loadingText: {
|
loadingText: {
|
||||||
type: String
|
type: String
|
||||||
},
|
},
|
||||||
distanceToEdge: [Number, Array]
|
distanceToEdge: [Number, Array],
|
||||||
|
stopSlide: {
|
||||||
|
type: Boolean,
|
||||||
|
default: false
|
||||||
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
const distanceToEdge = this.calculateProximityThreshold();
|
const distanceToEdge = this.calculateProximityThreshold();
|
||||||
|
@ -89,7 +93,7 @@
|
||||||
return [
|
return [
|
||||||
`${prefixCls}-container`,
|
`${prefixCls}-container`,
|
||||||
{
|
{
|
||||||
[`${prefixCls}-container-loading`]: this.showBodyLoader
|
[`${prefixCls}-container-loading`]: this.showBodyLoader && this.stopSlide
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue