Page

Pages contain an application’s UI. Top-level pages can have a stack of non-top-level pages on top. See Widget Tree Includes Composite

Methods

close()

Parameters:

Closes and disposes of the page.

open()

Parameters:

Returns: this

Opens the page, i.e. makes it the active page.

Properties

icon

Type: Image

An image to be displayed in the navigation bar.

image

Type: Image

An image shown in PageSelector.

title

Type: string

The page title to be displayed in the navigation bar.

topLevel

Type: boolean, default: false

Defines whether this is a top level page.

Events

“appear” (widget)

Parameters:

  • widget: this

Fired when the page is about to become visible, i.e. it has become the active page.

“disappear” (widget)

Parameters:

  • widget: this

Fired when the page is no longer visible, i.e. another page has become the active page.

See also