Page
Extends Composite
A container representing a single page of a NavigationView widget.
Import this type with “const {Page} = require('tabris');
”
Properties
autoDispose
Type: boolean, default: true
Defines whether this page will be automatically disposed when popped from the NavigationView, e.g. using native back navigation.
image
iOSAndroid
Type: Image
An image to be displayed in the navigation bar. Not supported on Windows.
title
Type: string
The page title to be displayed in the navigation bar.
Events
appear
Fired when the page is about to become visible, i.e. it has become the active page.
autoDisposeChanged
Fired when the autoDispose property has changed.
Event Parameters
-
target: this The widget the event was fired on.
-
value: boolean The new value of autoDispose.
disappear
Fired when the page is no longer visible, i.e. another page has become the active page.
imageChanged
Fired when the image property has changed.
Event Parameters
titleChanged
Fired when the title property has changed.
Event Parameters
-
target: this The widget the event was fired on.
-
value: string The new value of title.