Wijmo UI for the Web
changePage Method
wijmo.appview Namespace > wijappview type : changePage Method
A URL or an appview page DOM element to switch to
Load settings to be used if 'toPage' is a URL

Switches to the specified page.

Parameters:

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

// Parameters
var toPage; // Type:  any
var options; // Type:  ILoadSettings

value = instance.changePage(toPage, options);
function changePage( 
   toPage : any,
   options : ILoadSettings
) : any;

Parameters

toPage
A URL or an appview page DOM element to switch to
options
Load settings to be used if 'toPage' is a URL
Example
$("#appview").wijappview("changePage", "viewCustomer.html", options);
Remarks
If 'toPage' is a URL, then changePage() loads the page first and calls itself recursively
See Also

Reference

wijappview type