angular-ez-plus
Advanced tools
Comparing version 1.1.5 to 1.1.18
{ | ||
"name": "angular-ez-plus", | ||
"version": "1.1.5", | ||
"version": "1.1.18", | ||
"author": { | ||
@@ -30,3 +30,3 @@ "name": "Igor Lino", | ||
"angular": "~1.3.4", | ||
"ez-plus": "~1.1.12" | ||
"ez-plus": "~1.1.18" | ||
}, | ||
@@ -33,0 +33,0 @@ "devDependencies": { |
@@ -0,0 +0,0 @@ angular.module('elevatezoomdemo', [ |
@@ -0,0 +0,0 @@ angular.module('elevatezoomdemo.controllers', []). |
@@ -81,9 +81,9 @@ (function () { | ||
$scope.$on("ezp-hidesAll", function (e, msg) { | ||
$scope.$on('ezp-hidesAll', function (e, msg) { | ||
hideZoom(); | ||
}); | ||
$scope.$on("ezp-showAll", function (e, msg) { | ||
$scope.$on('ezp-showAll', function (e, msg) { | ||
showZoom(); | ||
}); | ||
$scope.$on("ezp-disableZoom", function (e, msg) { | ||
$scope.$on('ezp-disableZoom', function (e, msg) { | ||
var plugin = angular.element($element).data('ezPlus'); | ||
@@ -94,3 +94,3 @@ if (plugin) { | ||
}); | ||
$scope.$on("ezp-enableZoom", function (e, msg) { | ||
$scope.$on('ezp-enableZoom', function (e, msg) { | ||
var plugin = angular.element($element).data('ezPlus'); | ||
@@ -101,2 +101,6 @@ if (plugin) { | ||
}); | ||
//updates options dinamically | ||
$scope.$watch('ezpOptions', function (newValue, oldValue) { | ||
angular.extend(options, $scope.ezpOptions); | ||
}); | ||
$scope.$watch('ezpModel', function (newValue, oldValue) { | ||
@@ -157,18 +161,19 @@ var image = newValue; | ||
function hideZoom() { | ||
var action='hide'; | ||
var action = 'hide'; | ||
var plugin = angular.element($element).data('ezPlus'); | ||
if (plugin) { | ||
plugin.showHideZoomContainer(action); | ||
plugin.showHideWindow(action); | ||
plugin.showHideTint(action); | ||
plugin.showHideLens(action); | ||
/*plugin.showHideWindow(action); | ||
plugin.showHideTint(action); | ||
plugin.showHideLens(action);*/ | ||
} | ||
} | ||
function showZoom() { | ||
var action='show'; | ||
var action = 'show'; | ||
var plugin = angular.element($element).data('ezPlus'); | ||
if (plugin) { | ||
plugin.showHideLens(action); | ||
plugin.showHideTint(action); | ||
plugin.showHideWindow(action); | ||
/*plugin.showHideLens(action); | ||
plugin.showHideTint(action); | ||
plugin.showHideWindow(action);*/ | ||
plugin.showHideZoomContainer(action); | ||
@@ -175,0 +180,0 @@ } |
{ | ||
"name": "angular-ez-plus", | ||
"version": "1.1.5", | ||
"version": "1.1.18", | ||
"title": "Angular EZ Plus", | ||
@@ -35,3 +35,3 @@ "description": "Angular directive for ElevateZoom Plus.", | ||
"angular": "~1.3.4", | ||
"ez-plus": "~1.1.12" | ||
"ez-plus": "~1.1.18" | ||
}, | ||
@@ -38,0 +38,0 @@ "devDependencies": { |
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
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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
53
948
0
1563823
Updatedez-plus@~1.1.18