vue-tap-outside

1.0.0 • Public • Published

Vue Tap Outside

Vue Directive to make a tap outside event, just a variation of vue-click-outside to support VueDova Starter

Install

Include the vue-tap-outside.js to your HTML or web page file after Vue.Js. or import it to your Javscript / Vue File. Don't forget to include Hammer Js too.

or

you can install via npm

npm install vue-tap-outside

Usage

<template>
  <div v-tap-outside="tapedOutside"></div>
</template>
 
<script>
 
  export default {
 
    methods: {
      hastapedOutside(){
        alert('taped OutSide!')
      },
    }
 
  };
 
</script> 

Thank You for Making this useful~

Hopefully this can be useful for your next projects.

Let's talk about some projects with me

Just Contact Me At:

License

MIT Copyright (c) 2016 - forever Naufal Rabbani

Package Sidebar

Install

npm i vue-tap-outside

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • bosnaufal