@bijujoseph/ng2-nvd3
Advanced tools
Comparing version 1.1.22 to 1.1.23
@@ -89,11 +89,10 @@ "use strict"; | ||
self.chart.resizeHandler.clear(); | ||
var disableResizeHandler = self.options && self.options.chart && self.options.chart.disableUpdateOnWindowResize; | ||
if (!disableResizeHandler) { | ||
console.log("[enabling resize handler]"); | ||
self.chart.resizeHandler = nv.utils.windowResize(function () { | ||
self.chart.resizeHandler = nv.utils.windowResize(function () { | ||
var rzTimeout = setTimeout(function () { | ||
clearTimeout(rzTimeout); | ||
if (self.chart && self.chart.update) | ||
console.log(" [resize] self.chart.update()"); | ||
self.chart && self.chart.update && self.chart.update(); | ||
}); | ||
} | ||
}, 250); | ||
}); | ||
return self.chart; | ||
@@ -100,0 +99,0 @@ }, options.chart['callback']); |
{ | ||
"name": "@bijujoseph/ng2-nvd3", | ||
"version": "1.1.22", | ||
"version": "1.1.23", | ||
"description": "Angular2 component for NVD3.js reusable charting library, a fork from https://github.com/jrmce/ng2-nvd3", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
35398
830