Class 

sap.m.SplitApp


About

SplitApp is another root element of a UI5 mobile application besides App control. It maintains two NavContainers if runs in tablet and one NavContainer in phone. The display of master NavContainer depends on the portrait/landscape of the device and the mode of SplitApp.


Use

Place as top Object for the Application and all other objects as child. Use sap.m.Page or sap.m.Carousel as child elements to the SplitApp object.




Navigation

Navigate between pages by using the methods:


// Available transitions currently include "slide" (default), "fade", "flip", and "show".

// Replace App to your App component and replace newPage to the new Page

 

// SplitApp - Master

App.toMaster("nextPage");

App.backMasterToPage("prevPage");

  

// SplitApp - Detail

App.toDetail("nextPage");

App.backDetailToPage("prevPage");



Preview




Reference


API


Testsuite