An index page is a page that is loaded into an application automatically on creating a new application. This page has a minimal design, properties, and controls.
- use the page as such with the styles and properties
- modify the styles, properties, define actions & events and use them
- remove the page and create a new page for the app, if you are not happy with the design
|Name||Name of the page created. By default, this page is named as an Index page|
|Caption||Indicates a caption for the page to be displayed in the app|
|Background Color||Choose the background color for the page|
|Background Image Type||Choose the source of the background image as URL & Asset|
URL – Provide the URL from which the image has to be used
Asset – Choose the from the Assets available in the application
|Padding||Define the space required between the border and the content so as to align the text with respect to the Left, Right, Top & Bottom margins.|
Define events to be performed whenever an action happens in the app.
|componentDidMount||Define the event that loads the required components when a page is loaded|
|onPageLoad||Define the event to be performed when the page loads|