Releases: calebjacob/tooltipster
Adapted the onlyOne option to work fine with the multiple option
3.2.1 Adapted the onlyOne option to work fine with the multiple option
Implemented the Multiple option
3.2.0 added Multiple option
Freeze body's overflow-x again until positioning refacto
3.1.4 update minfile
Fix for side-positioned tooltips on map areas
3.1.3 fixed vertical positioning on area targets
Stopped affecting overflow-x
Since the tooltip is now positioned at top-left corner before it is positioned, affecting the page overflow-x was not that useful and could cause issues. The case of tooltips larger than the page itself might still be an issue for some people, but it's an edge case that can be addressed with the future positioning refacto.
Fix for handlers set on the jQuery object provided as 'content' parameter
Preserve the handlers from jQuery's remove() method, for later use
Added callback parameters for show and hide methods
The show
and hide
API methods now accept an optional parameter : a callback function. These callbacks will be called when the show/hide animations are over. This allows finer-grained control over individual tooltip interactions than the existing and more general constructor functionReady
and functionAfter
callbacks.
This translates in : $(el).tooltipster('show', myFunction(){ ... })
and $(el).tooltipster('hide', myFunction(){ ... })
Also, functionBefore
will now be called everytime a tooltip's trigger is triggered (and at each call of the show
method). Previously, it would not be called if the content of the tooltip was null
. For people who instantiated Tooltipster with no content and were counting on the first functionBefore
call (which never happened) to load content on-the-fly, this was unexpected.
Fix of positioning and of content getter method when content is null
3.0.5 Version nb
Check for the presence of the tooltip element in the DOM at repositioning
- tiny refacto in checkInterval
Optimized window event listeners
3.0.3 Removed height 100% that caused the body not to occupy the full windo…