Panel set component
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.