Wijmo UI for the Web
loadPage Method
wijmo.appview Namespace > wijappview type : loadPage Method
URL of the page to load
Load settings to override options.loadSettings

Loads the specified appviewpage by URL.

Parameters:

Returns: a $.Deferred object

Syntax
var instance = new wijmo.appview.wijappview();
var value; // Type: JQueryPromise

// Parameters
var url; // Type:  string
var options; // Type:  ILoadSettings

value = instance.loadPage(url, options);
function loadPage( 
   url : string,
   options : ILoadSettings
) : JQueryPromise;

Parameters

url
URL of the page to load
options
Load settings to override options.loadSettings
Example
$("#appview").wijappview("loadPage", "viewCustomer.html")
.done(function (url, options, page) { alert("Page is loaded") })
.fail(function (url, options) { alert("Page loading failed") });
See Also

Reference

wijappview type