Gets or sets an HTML string, representing the content template.
Namespace: MindFusion.Common.UI
File: WindowBase.js
SyntaxJavaScript
Copy Code
|
|---|
get template() {} |
String. An HTML string representing the content template.
ExampleThe following code creates a Window programmatically and specifies its content template to be the HTML code for an element called "container" taken from the web page:
JavaScript
Copy Code
|
|---|
function loadChatWindow(sender, args) var window = new ui.Window(); |
See Also