Initializes a new instance of the Tooltip class.
Namespace: MindFusion.Common.UI
File: Tooltip.js
SyntaxJavaScript
Copy Code
|
|---|
function Tooltip (target, [title]) |
HTMLElement. The HTML element that will trigger the tooltip.
String. The display text of the tooltip.
ExampleThe following example uses the handler of an itemDoubleClick event to create a tooltip for the clicked item:
JavaScript
Copy Code
|
|---|
function handleItemDoubleClick(sender, args) var t = document.createElement("div"); |
See Also