vue-tippy
VueTippy - V6
Vue.js 3 wrapper for Tippy.js
Documentation
For full v6 documentation, visit https://vue-tippy.netlify.app/.
Installation
npm install vue-tippy@v6
//or
yarn add vue-tippy@v6
Configuration (optional)
import { createApp } from 'vue'
import VueTippy from 'vue-tippy'
// or
import { plugin as VueTippy } from 'vue-tippy'
const app = createApp({})
app.use(
VueTippy,
// optional
{
directive: 'tippy', // => v-tippy
component: 'tippy', // => <tippy/>
}
)
app.mount('#app')
Usage
Vue Directive
<template>
<button v-tippy="{ content: 'Hi!' }">Tippy!</button>
<button v-tippy="'Hello!'">Tippy!</button>
</template>
<script setup>
import { directive as VTippy } from 'vue-tippy'
</script>
Vue Component
<template>
<Tippy content="Hi!">
<button>Tippy!</button>
</Tippy>
</template>
<script setup>
import { Tippy } from 'vue-tippy'
</script>
Using composition api
import { defineComponent, ref, h } from 'vue'
import { useTippy } from 'vue-tippy'
export default defineComponent({
setup() {
const button = ref()
useTippy(button, {
content: 'Hi!',
})
return () => h('button', { ref: button }, 'Tippy!')
},
})
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 6.8.0 | ^3.2.0 | MIT | |
| 6.7.1 | ^3.2.0 | MIT | |
| 6.7.0 | ^3.2.0 | MIT | |
| 6.6.0 | ^3.2.0 | MIT | |
| 6.5.0 | ^3.2.0 | MIT | |
| 6.4.4 | ^3.2.0 | MIT | |
| 6.4.3 | ^3.2.0 | MIT | |
| 6.4.2 | ^3.2.0 | MIT | |
| 6.4.1 | ^3.2.0 | MIT | |
| 6.4.0 | ^3.2.0 | MIT | |
| 6.3.1 | ^3.2.0 | MIT | |
| 6.3.0 | ^3.2.0 | MIT | |
| 6.2.0 | ^3.2.0 | MIT | |
| 6.1.2 | ^3.2.0 | MIT | |
| 6.1.1 | ^3.2.0 | MIT | |
| 6.1.0 | ^3.2.0 | MIT | |
| 6.0.0 | ^3.2.0 | MIT | |
| 4.16.1 | ^2.5.9 | MIT | |
| 4.16.0 | ^2.5.9 | MIT | |
| 4.15.0 | ^2.5.9 | MIT | |
| 4.14.0 | ^2.5.9 | MIT | |
| 4.13.0 | ^2.5.9 | MIT | |
| 4.12.0 | ^2.5.9 | MIT | |
| 4.11.0 | ^2.5.9 | MIT | |
| 4.10.2 | ^2.5.9 | MIT | |
| 4.10.1 | ^2.5.9 | MIT | |
| 4.10.0 | ^2.5.9 | MIT | |
| 4.9.0 | ^2.5.9 | MIT | |
| 4.8.0 | ^2.5.9 | MIT | |
| 4.7.3 | ^2.5.9 | MIT |
Showing the latest 30 of 99. See every release on npm
Pre-releases (79)
| Version | Released | Vue | License |
|---|---|---|---|
| 6.3.0-beta.2 | ^3.2.0 | MIT | |
| 6.3.0-beta.1 | ^3.2.0 | MIT | |
| 6.1.0-beta.2 | ^3.2.0 | MIT | |
| 6.1.0-beta.1 | ^3.2.0 | MIT | |
| 6.1.0-beta.0 | ^3.2.0 | MIT | |
| 6.0.0-beta.0 | ^3.2.0 | MIT | |
| 6.0.0-alpha.65 | ^3.2.0 | MIT | |
| 6.0.0-alpha.64 | ^3.2.0 | MIT | |
| 6.0.0-alpha.63 | ^3.2.0 | MIT | |
| 6.0.0-alpha.62 | ^3.2.0 | MIT | |
| 6.0.0-alpha.61 | ^3.2.0 | MIT | |
| 6.0.0-alpha.60 | ^3.2.0 | MIT | |
| 6.0.0-alpha.59 | ^3.2.0 | MIT | |
| 6.0.0-alpha.58 | ^3.0.0 | MIT | |
| 6.0.0-alpha.57 | ^3.0.0 | MIT | |
| 6.0.0-alpha.56 | ^3.0.0 | MIT | |
| 6.0.0-alpha.55 | ^3.0.0 | MIT | |
| 6.0.0-alpha.54 | ^3.0.0 | MIT | |
| 6.0.0-alpha.53 | ^3.0.0 | MIT | |
| 6.0.0-alpha.52 | ^3.0.0 | MIT | |
| 6.0.0-alpha.51 | ^3.0.0 | MIT | |
| 6.0.0-alpha.50 | ^3.0.0 | MIT | |
| 6.0.0-alpha.49 | ^3.0.0 | MIT | |
| 6.0.0-alpha.48 | ^3.0.0 | MIT | |
| 6.0.0-alpha.47 | ^3.0.0 | MIT | |
| 6.0.0-alpha.46 | ^3.0.0 | MIT | |
| 6.0.0-alpha.45 | ^3.0.0 | MIT | |
| 6.0.0-alpha.44 | ^3.0.0 | MIT | |
| 6.0.0-alpha.43 | ^3.0.0 | MIT | |
| 6.0.0-alpha.42 | ^3.0.0 | MIT |
Showing the latest 30 of 79. See every release on npm