Search
Tooltip.toggle Method
See Also
 






Toggles the tooltip's visibility.

Namespace: MindFusion.Common.UI
File: Tooltip.js

 Syntax

JavaScript  Copy Code

function toggle ()

 Example

The 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