Search
TabPage.templateUrl Property
See Also
 






Gets or sets a string, specifying the URL of the web page, that will be loaded as a content template.

Namespace: MindFusion.Common.UI
File: TabPage.js

 Syntax

JavaScript  Copy Code

get templateUrl() {}

 Property Value

String. A string specifying the URL of the web page, that will be loaded as a content template.

 Example

The following code creates a new TabControl and adds a new TabPage to its tabs collection. The tab page uses the templateUrl property.

JavaScript  Copy Code

var tab = new ui.TabPage("«");
tab.header.size = new ui.Unit(20);
tab.header.interactive = false;
tab.header.tooltip = "Previous Tab";
tab.data = -1;
tab.navigateUrl = "products.html";
tab.templateUrl = "Window1.html";
tab.allowClose = false;

tabControl.tabs.add(tab);

 See Also