Class: Page

stb/ui/page~ Page

new Page(configopt)

Base page implementation.

A full-screen top-level layer that can operate as an independent separate entity. It is added to the document body on creation if not already linked.

Parameters:
Name Type Attributes Default Description
config Object <optional>
{}

init parameters (all inherited from the parent)

Source:
Example
var Page = require('stb/ui/page'),
    page = new Page({
        $node: document.getElementById(id)
    });

page.addListener('show', function show () {
    // page is visible now
});

Extends

  • Component

Members

(readonly) active :boolean

Page visibility/active state flag.

Type:
  • boolean
Source:

(readonly) activeComponent :Component

Link to the currently active component with focus.

Type:
  • Component
Source: