wt-directive

this will content some cool vue directive

Usage no npm install needed!

<script type="module">
  import wtDirective from 'https://cdn.skypack.dev/wt-directive';
</script>

README

wt-directive

This repo content lot of cool vue directives

How to import

in your main.js file

import wtDirective from 'wt-directive'
Vue.use(wtDirective)

v-wt-tooltip directive

it is use to show some tooltip on hover of that element

<button v-wt-tooltip="'my tooltip'" ></button>

v-wt-outside directive

it is use to detect outside click event form element

<button v-wt-outside="'myFunction'" ></button>

By Complex1