Toggles the tooltip's visibility.
Namespace: MindFusion.Common.UI
File: Tooltip.js
JavaScript Copy Code |
---|
function toggle () |
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(); } } |
JavaScript Pack Programmer's Guide | © 2024 MindFusion |