Shows the tooltip.
Namespace: MindFusion.Common.UI
File: Tooltip.js
JavaScript Copy Code |
---|
function show ([position]) |
MindFusion.Drawing.Point. The point at which to display the tooltip if its position is set to TooltipPosition.Cursor.
The following code handles the itemMouseEnter event of a TreeView and shows a tooltip when the mouse is over child nodes:
JavaScript Copy Code |
---|
// This is the handler function of tree.itemMouseEnter event. tooltip.show(new d.Point(tree.bounds.right() + 10, tree.bounds.y + node.bounds.y - tree.element.scrollTop)); |