Numbers Prefer Multiplication

    vue-pan

    1.0.0 • Public • Published

    vue-pan

    Isolated version of Quasar's v-pan directive.

    Installation

    npm i vue-pan

    Load directive locally:

    <script>
      export default {
        directives: {
          "v-pan": require('vue-pan').default
        }
      }

    Load directive globally:

    // in main.js
    Vue.directive("v-pan", require('vue-pan').default);
     
    new Vue({
        router,
        render: h => h(App)
    }).$mount("#app");

    Use

    <div v-pan.prevent.mouse="panHandle" />

    Keywords

    none

    Install

    npm i vue-pan

    DownloadsWeekly Downloads

    17

    Version

    1.0.0

    License

    ISC

    Unpacked Size

    23.1 kB

    Total Files

    7

    Last publish

    Collaborators

    • inventsable