Hide all tooltips

Topic: Hide all tooltips

joelgrondrup pro premium priority asked a year ago

Hi guys.

How would I hide all tooltips in a simple as possible javascript command?

I'm showing the tooltips with data attributes:

data-mdb-toggle="tooltip" data-mdb-placement="top" data-mdb-trigger="hover" data-mdb-container="body" title="my tooltip"

The reason I'm asking is that sometimes the tooltips will not go away inside a slider when the sliding takes place.

Hi, You can close all snippets at once by call hide method on their instance.

Look at snippet to check how to get all tooltips on the page and close/open them.


joelgrondrup pro premium priority answered a year ago

Thanks for this. Brilliant.

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: 3.0.0
  • Device: Mac
  • Browser: Chrome
  • OS: OS X
  • Provided sample code: No
  • Provided link: No