vue-tippy
Advanced tools
Comparing version 0.1.6 to 0.1.7
{ | ||
"name": "vue-tippy", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "vue-tippy.js", |
const Tippy = require('tippy.js'); | ||
const css = require('tippy.js/dist/tippy.css'); | ||
if (window.Vue) { | ||
window.Vue.prototype.$tippy = { | ||
update: function (el) { | ||
var instance = Tippy(el); | ||
instance.update(instance.getPopperElement(instance.selector)) | ||
} | ||
}; | ||
} | ||
var VueTippy = { | ||
install: function (Vue) { | ||
Vue.prototype.$tippy = { | ||
update: function (el) { | ||
var instance = Tippy(el); | ||
instance.update(instance.getPopperElement(instance.selector)) | ||
} | ||
}; | ||
Vue.directive('tippy', { | ||
@@ -16,0 +15,0 @@ bind: function (el, binding, vnode) { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
8
219901
3532