nokia.mh5.app.Application

Class Summary

Application describes the pages of the Application for the phone and tablet layout.

[ For full details, see nokia.mh5.app.Application ]

Table 1. Property Summary
Properties

{Array} layouts

Array containing layout names for your application.

{nokia.mh5.app.phoneLayout} phoneLayout

Default layout for phones.

{nokia.mh5.app.tabletLayout} tabletLayout

Default layout for tablets.

Class Description

Application describes the pages of the Application for the phone and tablet layout.

Property Details

{Array} layouts

Array containing layout names for your application. The default layouts are nokia.mh5.app.tabletLayout but you can define your own once. In every layout object you can define the initial page for the application through the optional property "initialPage". If you don't define this property the first page in "pages" array of your layout object will be taken as the initial page. Additionally, in every layout you have to define a controller which is responsible for initializing the pages and managing the flow between them. It's also in charge of the history handling. You can use nokia.mh5.app.controller as your controller. It should be enough for common use cases. You can also define your own controller but you have to implement the interface nokia.mh5.app.controller offers.

{nokia.mh5.app.phoneLayout} phoneLayout

Default layout for phones.

{nokia.mh5.app.tabletLayout} tabletLayout

Default layout for tablets.