MindFusion.Charting for JavaScript Programmer's Guide
UIControl Class
See Also
 






Initializes a new instance of the Control class.

Namespace: MindFusion.Common
File: UIControl.js

 Syntax

JavaScript  Copy Code

// class
UIControl.prototype = {}

 Example

The following code creates a ToolTip instance, which is a class that derives from UIControl. The tooltip is created using the DOM element of a diagram canvas.

JavaScript  Copy Code
var tooltip = new ui.Tooltip(diagram._element);
tooltip.trigger = ui.TooltipTrigger.None;
tooltip.follow = false;
tooltip.theme = "peach";

 Inheritance Hierarchy

MindFusion.Common.UIControl

 See Also

UIControl Members
MindFusion.Common Namespace