vue-directive-primer-tooltip

0.3.0 • Public • Published

vue-directive-primer-tooltip

VueJS directive to use GitHub primer tooltip (css only based) Very light and performance oriented.

Usage

JS:

var Tooltip = require('vue-directive-primer-tooltip')
Vue.use(Tooltip)

Template:

<span v-primer-tooltip.ne.no-delay="'my text'">some text</span>

SCSS:

@import "vue-directive-primer-tooltip/index.scss"

More details about GitHub Primer is here.

License

The code is available under the MIT license.

Contributing

We are open to contributions.

Changelog

  • 0.1.2 - IE compatibility (no support forEach), If no value - do not apply tooltip
  • 0.1.1 - fix typo for auto update tooltip from computed

Readme

Keywords

Package Sidebar

Install

npm i vue-directive-primer-tooltip

Weekly Downloads

1

Version

0.3.0

License

MIT

Unpacked Size

4.61 kB

Total Files

6

Last publish

Collaborators

  • gormartsen