Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Upgrade version 3.0 #98

Merged
merged 16 commits into from
Dec 31, 2013
Merged

Upgrade version 3.0 #98

merged 16 commits into from
Dec 31, 2013

Conversation

louisameline
Copy link
Collaborator

Version 3.0 has a few fixes and improvements but may involve breaking changes for a number of users. Checkout the updated doc to see what's new : http://iamceege.github.io/tooltipster

The three possibly breaking changes you should definitely know about :

  • the data in title attributes is now treated as plain text by default, which means that HTML will not be interpreted by default. The recommended way of using HTML in your tooltips is to provide a jQuery object, as described in the documentation. However, if you put (hopefully entity-encoded) HTML in your title attributes and do not wish to change your way of doing things, please set the new contentAsHTML option to true and you'll be ok.
  • renamed and changed the way the autoClose option works, both for click and hover triggers, as detailed here Change the behavior of interactiveAutoClose #79. In a nutshell, autoClose == false => tooltip will never close by itself.
  • when the trigger option is set to 'click', a click (or touch) anywhere in the page will now close the tooltip.
  • every call to the content method will now systematically trigger the update animation if animation is enabled.

You might also want to take a look at recent minor changes in v2.3.0 #75.

Feedback is welcome, thanks.

louisameline and others added 16 commits December 21, 2013 17:32
…property. Used a queue only for css animations. Got rid of the delay on API call on the show method (kept in our click and hover triggers only).
…ick on the body will close it (except for the interactive and autoClose options).
…nt between click and hover triggers. AutoClose set to false will now apply for hover triggers as soon as the tooltip is shown. Now respecting the interactive tolerance when the mouse leaves an auto-closing interactive tooltip.
…e in seperate folder and updated secondary files.
…he toucheDevice option which cannot be handled correctly without a proper library for touch events...
…(not hybrid ones), otherwise it's too complex
louisameline added a commit that referenced this pull request Dec 31, 2013
@louisameline louisameline merged commit b14792f into master Dec 31, 2013
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants