spa-component-page

1.4.1 • Public • Published

Page component

build status npm version dependencies status devDependencies status Gitter

Page is the main component to build user interface, an instance of Component module. Page is an area filling the whole screen. There can be only one active page visible at the same time. Active/visible state of a page is managed by the router module. A page can contain other components.

Installation

npm install spa-component-page

Usage

Add the singleton to the scope:

var page = require('spa-component-page');

Development mode

There is a global var DEVELOP which activates additional consistency checks and protection logic not available in release mode.

Contribution

If you have any problem or suggestion please open an issue here. Pull requests are welcomed with respect to the JavaScript Code Style.

License

spa-component-page is released under the MIT License.

Package Sidebar

Install

npm i spa-component-page

Weekly Downloads

4

Version

1.4.1

License

MIT

Unpacked Size

7.94 kB

Total Files

11

Last publish

Collaborators

  • spasdk