1.0.5 • Published 3 years ago

mag-component-panel-set v1.0.5

Weekly downloads
5
License
MIT
Repository
github
Last release
3 years ago

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.