0.3.0 • Published 2 years ago

vue-directive-primer-tooltip v0.3.0

Weekly downloads
3
License
MIT
Repository
github
Last release
2 years ago

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