Toggles the tooltip's visibility.
Namespace: MindFusion.Common.UI
File: Tooltip.js
SyntaxJavaScript
Copy Code
|
|---|
function toggle () |
ExampleThe following example uses the handler of a itemDoubleClick event to create a ToolTip for the clicked item and toggle its visibility:
JavaScript
Copy Code
|
|---|
| function handleItemDoubleClick(sender, args) { if (args.item.data) { var tip = new ui.Tooltip(args.item.element); tip.toggle(); } } |
See Also