Skip to content

Commit

Permalink
Release v1.5.0-beta.0
Browse files Browse the repository at this point in the history
  • Loading branch information
techfg committed Jan 26, 2021
1 parent feef7c7 commit ace21a0
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 14 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

- [Issue 352](https://github.com/jamietre/ImageMapster/issues/352) Fix inconsistency of navigation href via onClick vs. clickNavigate
- [Issue 353](https://github.com/jamietre/ImageMapster/issues/353) Add `navigationMode` configuration option to improve AREA element href & target support
- [Issue 356](https://github.com/jamietre/ImageMapster/issues/356) Add tooltip close support for `image-click` event

## Version 1.4.0 - 2021.01.24

Expand Down
16 changes: 12 additions & 4 deletions dist/jquery.imagemapster.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* imagemapster - v1.5.0-beta.0 - 2021-01-24
* imagemapster - v1.5.0-beta.0 - 2021-01-25
* https://github.com/jamietre/ImageMapster/
* Copyright (c) 2011 - 2021 James Treworgy
* License: MIT
Expand Down Expand Up @@ -3883,7 +3883,7 @@
showToolTip: false,
toolTip: null,
toolTipFade: true,
toolTipClose: ['area-mouseout', 'image-mouseout','generic-mouseout'],
toolTipClose: ['area-mouseout', 'image-mouseout', 'generic-mouseout'],
onShowToolTip: null,
onHideToolTip: null
});
Expand Down Expand Up @@ -4097,7 +4097,7 @@
* @config {bool} [template] a template to use instead of the default. If this property exists and is null,
* then no template will be used.
* @config {string} [closeEvents] A string with one or more comma-separated values that determine when the tooltip
* closes: 'area-click','tooltip-click','image-mouseout' are valid values
* closes: 'area-click','tooltip-click','image-mouseout','image-click' are valid values
* then no template will be used.
* @config {int} [offsetx] the horizontal amount to offset the tooltip
* @config {int} [offsety] the vertical amount to offset the tooltip
Expand Down Expand Up @@ -4203,6 +4203,14 @@
},
tipClosed
);
bindToolTipClose(
closeOpts,
'image-click',
'click',
$(md.image),
null,
tipClosed
);

showToolTip(tooltip, target, md.image, options.container, options);

Expand Down Expand Up @@ -4264,7 +4272,7 @@
* @config {bool} [template] a template to use instead of the default. If this property exists and is null,
* then no template will be used.
* @config {string} [closeEvents] A string with one or more comma-separated values that determine when the tooltip
* closes: 'area-click','tooltip-click','image-mouseout','generic-click','generic-mouseout' are valid values
* closes: 'area-click','tooltip-click','image-mouseout','image-click','generic-click','generic-mouseout' are valid values
* @config {int} [offsetx] the horizontal amount to offset the tooltip.
* @config {int} [offsety] the vertical amount to offset the tooltip.
* @config {string|object} [css] CSS to apply to the outermost element of the tooltip
Expand Down
4 changes: 2 additions & 2 deletions dist/jquery.imagemapster.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/jquery.imagemapster.min.js.map

Large diffs are not rendered by default.

16 changes: 12 additions & 4 deletions dist/jquery.imagemapster.zepto.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* imagemapster - v1.5.0-beta.0 - 2021-01-24
* imagemapster - v1.5.0-beta.0 - 2021-01-25
* https://github.com/jamietre/ImageMapster/
* Copyright (c) 2011 - 2021 James Treworgy
* License: MIT
Expand Down Expand Up @@ -3909,7 +3909,7 @@
showToolTip: false,
toolTip: null,
toolTipFade: true,
toolTipClose: ['area-mouseout', 'image-mouseout','generic-mouseout'],
toolTipClose: ['area-mouseout', 'image-mouseout', 'generic-mouseout'],
onShowToolTip: null,
onHideToolTip: null
});
Expand Down Expand Up @@ -4123,7 +4123,7 @@
* @config {bool} [template] a template to use instead of the default. If this property exists and is null,
* then no template will be used.
* @config {string} [closeEvents] A string with one or more comma-separated values that determine when the tooltip
* closes: 'area-click','tooltip-click','image-mouseout' are valid values
* closes: 'area-click','tooltip-click','image-mouseout','image-click' are valid values
* then no template will be used.
* @config {int} [offsetx] the horizontal amount to offset the tooltip
* @config {int} [offsety] the vertical amount to offset the tooltip
Expand Down Expand Up @@ -4229,6 +4229,14 @@
},
tipClosed
);
bindToolTipClose(
closeOpts,
'image-click',
'click',
$(md.image),
null,
tipClosed
);

showToolTip(tooltip, target, md.image, options.container, options);

Expand Down Expand Up @@ -4290,7 +4298,7 @@
* @config {bool} [template] a template to use instead of the default. If this property exists and is null,
* then no template will be used.
* @config {string} [closeEvents] A string with one or more comma-separated values that determine when the tooltip
* closes: 'area-click','tooltip-click','image-mouseout','generic-click','generic-mouseout' are valid values
* closes: 'area-click','tooltip-click','image-mouseout','image-click','generic-click','generic-mouseout' are valid values
* @config {int} [offsetx] the horizontal amount to offset the tooltip.
* @config {int} [offsety] the vertical amount to offset the tooltip.
* @config {string|object} [css] CSS to apply to the outermost element of the tooltip
Expand Down
4 changes: 2 additions & 2 deletions dist/jquery.imagemapster.zepto.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/jquery.imagemapster.zepto.min.js.map

Large diffs are not rendered by default.

0 comments on commit ace21a0

Please sign in to comment.