vue-tooltip

A plugin to implement tooltip using Vue.js
2,805 14
Install
npm install vue-tooltip
Latest Version:0.1.0
Vue:1
License:MIT
Last Updated:Oct 18, 2016
Links: GitHub  ·  npm
Maintainer: samcrosoft

VueTooltip

Tooltip plugin implemented for use with Vue.js.

This is a vue.js directive for the tooltip plugin.

Usage

Installation

Firstly, insert the vue.js script and then insert a reference to the following libraries as listed below

And then insert a link to the vue-tooltip script

<script src="../bower_components/tether/dist/js/tether.min.js"></script>
<script src="../bower_components/tether-drop/dist/js/drop.min.js"></script>
<script src="../bower_components/tether-tooltip/dist/js/tooltip.min.js"></script>
<script src="../bower_components/vue/dist/vue.js"></script>
<!--include the Vue Tooltip-->
<script src="../dist/js/vue-tooltip.js"></script>

Use in your templates

You can insert a tooltip on any element using the tooltip directive

<span v-tooltip position="bottom center" content="Wow! I am a vue Tooltip"></span>   
            

You can specify all the attributes listed below for the tooltip

Available Attributes

  1. position - This is the position of the tooltip
    • type: String
    • required : false
    • default : 'top left' Acceptable options can be found in documentation for tooltip
  2. content - This is the content to be displayed in the tooltip
    • type: String
    • required : false
    • default : empty string ''

License

This plugin is released under the MIT Licence

Related Packages

v-tooltip

Easy tooltips with Vue 2.x

6,036,683 3,460
vtip

A simple tooltip based Vue

7,249
@gits-id/tooltip

GITS Tooltip Component

4,074
vue-follow-tooltip

Tiny vue 3 tooltip directive

3,019 6

Version History

Version Released Vue License
0.1.0 ^1.0.15 MIT