Represents a window, which can be either templated or rendered as an IFrame.
Namespace: MindFusion.Common.UI
File: WindowBase.js
JavaScript Copy Code |
---|
// class |
This is the base class for window-classes like Window. You do not instantiate WindowBase directly but some of the classes that derive from it.
The following code creates a new Window instance and sets some of its common properties. The Window class derives from WindowBase.
JavaScript Copy Code |
---|
var window = new ui.Window(); window.top = ui.Unit.percentage(25); window.left = ui.Unit.percentage(25); window.width = ui.Unit.pixel(400); window.height = new ui.Unit.pixel(300); window.title = clickedItem.title; window.data = clickedItem.item; window.templateUrl = "ChatWindow.html"; |
MindFusion.Common.UI.Control
MindFusion.Common.UI.WindowBase
MindFusion.Common.UI.Window