Search
Tooltip.tooltipHide Event
See Also
 






Raised when the ToolTip is hidden.

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

 Syntax

JavaScript  Copy Code

EventDispatcher tooltipHide

 Event Data

The event handler method receives the following arguments:
sender
A Tooltip instance, which is the source of the event. This object will be passed to the handler function as the first argument.
args
A ControlModifiedEventArgs instance, which contains event data. This object will be passed to the handler function as the second argument.

 Example

The following code creates a new instance of the Tooltip class associated with the HTMLElement of a Window instance and handles its tooltipHide event:

JavaScript  Copy Code

var tooltip = new ui.Tooltip(window.element);
tooltip.trigger = ui.TooltipTrigger.Focus;
tooltip.position = ui.TooltipPosition.Cursor;
tooltip.text = "Map of the European Union";

tooltip.tooltipHideaddEventListener(tooltipHideEventHandler);


function tooltipHideEventHandler(sender, args)
{
  //add event handling code here 
}

 See Also