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.8 to 0.1.9

12

package.json
{
"name": "vue-tippy",
"version": "0.1.8",
"version": "0.1.9",
"description": "",

@@ -29,7 +29,7 @@ "main": "vue-tippy.js",

"devDependencies": {
"browserify": "^14.3.0",
"browserify-css": "^0.10.0",
"uglify-js": "^2.8.22",
"vue": "^2.2.6",
"webpack": "^2.3.3"
"browserify": "^14.4.0",
"browserify-css": "^0.10.1",
"uglify-js": "^2.8.29",
"vue": "^2.3.4",
"webpack": "^2.6.1"
},

@@ -36,0 +36,0 @@ "dependencies": {

@@ -14,5 +14,6 @@ const Tippy = require('tippy.js');

};
Vue.directive('tippy', {
bind: function (el, binding, vnode) {
var instance = new Tippy(el, {
inserted: function (el, binding, vnode, oldVnode) {
el.tippy = new Tippy(el, {
shown: function () {

@@ -27,11 +28,11 @@ const handlers = (vnode.data && vnode.data.on) ||

});
this.tpy = instance;
},
update: function (el) {
componentUpdated: function (el) {
if(el.getAttribute('title') || el.getAttribute('data-html'))
{
const popper = this.tpy.getPopperElement(el);
el.setAttribute('data-original-title', el.getAttribute('title'));
this.tpy.update(popper);
if (el.tippy && (el.getAttribute('title') || el.getAttribute('data-html'))) {
const popper = el.tippy.getPopperElement(el);
el.tippy.update(popper);
}

@@ -38,0 +39,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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