1.0.0 • Published 8 years ago

vue-tap-outside v1.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

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