You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
292 B
10 lines
292 B
|
3 years ago
|
export default function unsetGrabCursor() {
|
||
|
|
const swiper = this;
|
||
|
|
if (swiper.support.touch || swiper.params.watchOverflow && swiper.isLocked || swiper.params.cssMode) {
|
||
|
|
return;
|
||
|
|
}
|
||
|
|
swiper[swiper.params.touchEventsTarget === 'container' ? '$el' : '$wrapperEl'].setCss({
|
||
|
|
cursor: ''
|
||
|
|
});
|
||
|
|
}
|