Skip to content

s00d/vue-lite-tooltip

Repository files navigation

vue-lite-tooltip

show tooltip to vue

npm

EXAMPLE

https://s00d.github.io/vue-lite-tooltip/index.html

Requirements

  • vue: ^2.0.0

Install

From npm:

$ npm install vue-lite-tooltip --save

use

import Vue from 'vue';
import VueLiteTooltip from 'vue-lite-tooltip';

Vue.use(VueLiteTooltip)

...

<button type="button" v-tooltip="{text: 'hello', position: 'right', width: 100}">test</button>

Params

text - tooltip text position - top, bottom, right, left show - if false tooltip hidden width - int size color - text color background - background color

License

MIT