item
Overview
An item
in the general-section
is similar to that in a section
. These provide users a way to perform an action or navigate to a view. See more information here.
In addition to customizable items, the general-section
contains a number of non-customizable items, namely links to the "Messages", "Set Language" and "About" screens.
Basic Example
Standard Attributes
label
label
on-press
on-presson-press
validate
validate
Optional
Type: boolean
Default: false
Validation will check all required fields on the view and confirm that they contain values before performing the on-press
action.
main.view.xml
Advanced Attributes
from-js
from-js
id
id
icon
icon
indicator
indicator
items
items
show-if
and hide-if
show-ifhide-ifshow-if
and hide-if
type
type
Optional
Type: messages
Default: The default messages page will be setup and included in the general-section
.
Overrides the default Messages item
in the general-section
. It is important to also specify an indicator
for this item
.
main.view.xml
main.js
Last updated