Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-tippy

Package Overview
Dependencies
Maintainers
1
Versions
175
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-tippy - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

2

package.json
{
"name": "vue-tippy",
"version": "0.1.3",
"version": "0.1.4",
"description": "",

@@ -5,0 +5,0 @@ "main": "vue-tippy.js",

const Tippy = require('tippy.js');
const css = require('tippy.js/dist/tippy.css');
Vue.prototype.$tippy = {
update: function (el) {
var instance = Tippy(el);
instance.update(instance.getPopperElement(instance.selector))
}
};
var VueTippy = {

@@ -8,3 +15,3 @@ install: function (Vue) {

bind: function (el, binding, vnode) {
const instance = new Tippy(el, {
const instance = new Tippy(el, {
shown: function () {

@@ -18,8 +25,9 @@ const handlers = (vnode.data && vnode.data.on) ||

},
wait: function(show, event) {
wait: function (show, event) {
// Change your app model to be rendered by the UI library/framework
// Queue show to run once rendering is complete
setTimeout(function() {
setTimeout(function () {
// update(popper) content
const popper = instance.getPopperElement(el);

@@ -26,0 +34,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc