mag-component-panel-set

1.0.5 • Public • Published

Panel set component

build status npm version dependencies status devDependencies status Gitter

Panel set is a component to build user interface, an instance of Component module. Use with mag-component-panel.

Installation

npm install mag-component-panel-set

Usage

Add the singleton to the scope:

var PanelSet = require('mag-component-panel-set');

Create instance with custom config:

var panelSet = new PanelSet({
        visible: false,
        // list of mag-component-panel panels
        panels: [leftPanel, rightPanel]
    });

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

mag-component-panel-set is released under the MIT License.

Package Sidebar

Install

npm i mag-component-panel-set

Weekly Downloads

3

Version

1.0.5

License

MIT

Unpacked Size

21.9 kB

Total Files

26

Last publish

Collaborators

  • magsdk