Skip to content

1.2.0

Compare
Choose a tag to compare
@stevenbenner stevenbenner released this 10 Jul 23:04
· 641 commits to master since this release
  • Features & Improvements
    • Mouse-follow tooltips will now flip out of the way if they become trapped in the bottom-right corner.
    • Escape key will now close tooltip for selected element.
    • Added support for elastic tooltips.
    • Added manual option to disable the built-in event listeners.
    • Added nw-alt, ne-alt, sw-alt, and se-alt placement options.
    • Added support for SVG elements.
    • PowerTip will now use right position for right aligned tooltips, and bottom position for nothern tooltips.
    • Data attributes powertip and powertipjq now accept a function.
    • powerTip() will now overwrite any previous powerTip() calls on an element.
    • Added support for AMD loading of PowerTip.
  • API
    • Added show() and hide() methods to the API.
    • Added reposition() method to the API.
    • Added destroy() method to the API.
    • You can now pass API method names as strings to the powerTip() function.
    • showTip and hideTip API methods are now deprecated in favor of the new show and hide API methods (but they will continue to work until 2.0).
  • CSS
    • Added 8 new tooltip CSS themes.
    • Changed default z-index in CSS themes to int max.
    • Added RGB color fallbacks for tooltip arrows (meaning arrows arrows now work in IE8).
  • Bug Fixes
    • Fixed bug that would cause the CSS position to be updated even when the tooltip is closed.
    • Fixed issue that could cause tooltips to close prematurely during the closeDelay period.
  • Miscellaneous
    • Project now has a fully automated build process.
    • Added a complete test suite and hooked up Travis CI.
    • Significant rewrite of the code.