Wijmo UI for the Web
changePage Method
A URL or an appview page DOM element to switch to
Load settings to be used if 'toPage' is a URL
Change current appview page
Syntax
Javascript (Usage) 
$(function () {
    
          var options; // Type:  jQuery.wijmo.wijappview.options
    
          // Create a new wijappview widget
          $(".selector").wijappview(options);
    
          // Get a previously created wijappview widget instance
          var widgetInstance; // Type:  jQuery.wijmo.wijappview
          widgetInstance = $(".selector").data("wijmo-wijappview");
    
          var value; // Type:  any
    // Parameters
    var toPage; // Type:  any
    var options; // Type:  ILoadSettings
    
    value = widgetInstance.changePage(toPage, options);
});
Javascript (Specification) 
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
Remarks
If 'toPage' is a URL, then changePage() loads the page first and calls itself recursively
Browser Compatibility
8
5
5

See Also

Reference

wijappview type
wijappview jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.