Using tooltip methods
The Tooltip widget contains a handful of methods which allow us to work with it programmatically and alter its default behaviors. Let's take a look at the methods, which are listed in the following table:
Method |
Used to… |
---|---|
|
Close a tooltip; should only be used for non-delegated tooltips. |
|
Remove the tooltip functionality completely. |
|
Disable the tooltip. |
|
Enable the tooltip. |
|
Programmatically open a tooltip. This is only intended for non-delegated tooltips. |
|
Get or set the value associated with the specified |
|
Return a jQuery object containing the original element. |