moo-test-vue-tooltip-js

## Installation ``` sh yarn add tooltip-vue ```

Usage no npm install needed!

<script type="module">
  import mooTestVueTooltipJs from 'https://cdn.skypack.dev/moo-test-vue-tooltip-js';
</script>

README

vue-js-tooltip

Installation

yarn add tooltip-vue
npm i tooltip-vue

Base usage

<template>
  <button>
    Hover me
    <tooltip-vue>
      I am a tooltip
    </tooltip-vue>
  </button>
</template>

<script>
  import TooltipVue from "tooltip-vue"
  
  components: {
    TooltipVue
  }
</script>

With v-model

<template>
  <button @click="tooltip = !tooltip">
    Click me
    <tooltip-vue v-model="tooltip">
      I am a tooltip
    </tooltip-vue>
  </custom-button>
</template>

<script>
  import TooltipVue from "tooltip-vue"
  
  components: {
    TooltipVue
  },
  
  data: () => ({
    tooltip: false
  })
</script>