vue-tippy
Advanced tools
Comparing version 0.3.4 to 1.0.0
{ | ||
"name": "vue-tippy", | ||
"version": "0.3.4", | ||
"version": "1.0.0", | ||
"description": "", | ||
@@ -29,11 +29,11 @@ "main": "vue-tippy.js", | ||
"devDependencies": { | ||
"browserify": "^14.4.0", | ||
"browserify": "^14.5.0", | ||
"browserify-css": "^0.10.1", | ||
"uglify-js": "^2.8.29", | ||
"vue": "^2.4.4", | ||
"vue": "^2.5.9", | ||
"webpack": "^2.7.0" | ||
}, | ||
"dependencies": { | ||
"tippy.js": "^1.4.1" | ||
"tippy.js": "^1.4.2" | ||
} | ||
} |
@@ -17,4 +17,17 @@ # vue-tippy | ||
``` js | ||
var vueTippy = require('vue-tippy') | ||
Vue.use(vueTippy) | ||
var vueTippy = require('vue-tippy') | ||
Vue.use(vueTippy) | ||
//or with default options | ||
Vue.use(vueTippy,{ | ||
flipDuration: 0, | ||
popperOptions: { | ||
modifiers: { | ||
preventOverflow: { | ||
enabled: false | ||
} | ||
} | ||
} | ||
}) | ||
``` | ||
@@ -21,0 +34,0 @@ |
@@ -30,3 +30,3 @@ const Tippy = require('tippy.js'); | ||
var VueTippy = { | ||
install: function (Vue) { | ||
install: function (Vue, options) { | ||
Vue.$tippyInstances = []; | ||
@@ -101,2 +101,4 @@ Vue.$tippyComponents = []; | ||
Object.assign(opts, {}, options); | ||
opts.onShow = function () { | ||
@@ -103,0 +105,0 @@ |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
255170
4222
2
94
Updatedtippy.js@^1.4.2