tabris.ui

The object tabris.ui is the root element for all widgets. This is the parent for all top-level pages, actions and the drawer. Includes Events API, Properties API

Properties

activePage

Type: Page

The currently visible page.

background

Type: Color

Background color for the navigation elements

textColor

Type: Color

Text color for the navigation elements

toolbarVisible

Type: boolean, default: true

Whether the toolbars above and below pages are visible.

Events

“change:activePage” (ui, page, options)

Parameters:

  • ui: tabris.ui
  • page: Page, the page that is now active (visible).
  • options: Object