A vue plugin for preventing the screen transitions fired by wheeling.
$ npm install vue-prevent-wheel-transitions
or
$ yarn add vue-prevent-wheel-transitions
import VuePreventWheelTransitions from 'vue-prevent-wheel-transitions'
Vue.use(VuePreventWheelTransitions)
<template>
<div
v-prevent-wheel-transitions
class="the-outer"
>
<div class="the-inner" />
</div>
</template>
<style>
.the-outer {
width: 100px;
overflow-x: auto;
}
.the-inner {
width: 200px;
}
</style>
This software is distributed under MIT license.
No Vue3 support currently.
This project was created as my personal learning theme for self-study days within my company.