Skip to content

Commit

Permalink
Add showHideZoomContainer public method.
Browse files Browse the repository at this point in the history
Version bump.
  • Loading branch information
ceilino committed Jun 18, 2015
1 parent 7b332f0 commit 594280d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ez-plus",
"title": "EZ Plus",
"version": "1.1.5",
"version": "1.1.6",
"description": "A jQuery image zoom plug-in, with tints, easing and gallery integration.",
"author": {
"name": "Igor Lino",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ez-plus",
"title": "EZ Plus",
"version": "1.1.5",
"version": "1.1.6",
"description": "A jQuery image zoom plug-in, with tints, easing and gallery integration.",
"keywords": [
"zoom",
Expand Down
15 changes: 14 additions & 1 deletion src/jquery.ez-plus.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

/*
* jQuery ezPlus 1.1.5
* jQuery ezPlus 1.1.6
* Demo's and documentation:
* http://igorlino.github.io/elevatezoom-plus/
*
Expand Down Expand Up @@ -764,6 +764,19 @@ if (typeof Object.create !== 'function') {

} //end else
},
showHideZoomContainer: function (change) {
var self = this;
if (change === 'show') {
if (self.zoomContainer) {
self.zoomContainer.show();
}
}
if (change === 'hide') {
if (self.zoomContainer) {
self.zoomContainer.hide();
}
}
},
showHideWindow: function (change) {
var self = this;
if (change === 'show') {
Expand Down

0 comments on commit 594280d

Please sign in to comment.