cleverstyle-widgets
Advanced tools
Comparing version 0.9.0 to 0.10.0
@@ -26,3 +26,3 @@ { | ||
], | ||
"version" : "0.9.0", | ||
"version" : "0.10.0", | ||
"homepage" : "https://github.com/nazar-pc/CleverStyle-Widgets", | ||
@@ -40,4 +40,4 @@ "author" : "Nazar Mokrynskyi <nazar@mokrynskyi.com>", | ||
"dependencies" : { | ||
"@polymer/polymer" : "^2.5.0" | ||
"@polymer/polymer" : "^2.6.0" | ||
} | ||
} |
@@ -11,2 +11,6 @@ // Generated by LiveScript 1.5.0 | ||
properties: { | ||
selectable: { | ||
reflectToAttribute: true, | ||
type: Boolean | ||
}, | ||
show: { | ||
@@ -26,6 +30,6 @@ reflectToAttribute: true, | ||
listeners: { | ||
mouseenter: '_set_show', | ||
pointerenter: '_set_show', | ||
mouseleave: '_unset_show', | ||
pointerleave: '_unset_show' | ||
mouseenter: '_self_show', | ||
pointerenter: '_self_show', | ||
mouseleave: '_self_hide', | ||
pointerleave: '_self_hide' | ||
}, | ||
@@ -52,14 +56,14 @@ attached: function(){ | ||
}, | ||
_set_show: function(){ | ||
if (this.reset_show) { | ||
this.reset_show = false; | ||
_self_show: function(){ | ||
if (this.selectable) { | ||
this.show = true; | ||
} | ||
}, | ||
_unset_show: function(){ | ||
this.show = false; | ||
_self_hide: function(){ | ||
if (this.selectable) { | ||
this._hide(); | ||
} | ||
}, | ||
_show: function(element){ | ||
var tooltip_position, x$, y$; | ||
this.reset_show = true; | ||
if (!element.tooltip || this.show) { | ||
@@ -80,5 +84,3 @@ return; | ||
_hide: function(){ | ||
if (this.show) { | ||
this.show = false; | ||
} | ||
this.show = false; | ||
}, | ||
@@ -85,0 +87,0 @@ _get_tooltip_position: function(element){ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
282867
2715
Updated@polymer/polymer@^2.6.0