Initializes a new instance of the Control class.
Namespace: MindFusion.Common
File: UIControl.js
JavaScript Copy Code |
---|
// class |
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"; |
MindFusion.Common.UIControl
MindFusion.Keyboard.VirtualKeyboard