Created by: asher-dev
Added a note to the destroy
blurb similar to the ones on hide
, show
, and toggle
.
The tooltip method tooltip('destroy')
returns before removing the tooltip element from the DOM, which can lead to some unexpected behaviour (particularly when trying to change the tooltip on an element by removing it and then adding a new one).
Since that behaviour is indicated on the other methods, a reader could take its absence here to mean that the destroy
method is not asynchronous.