New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mag-component-panel

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mag-component-panel

Base panel implementation.

2.0.2
latest
Source
npm
Version published
Maintainers
1
Created
Source

Panel component

build status npm version dependencies status devDependencies status Gitter

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

Installation

npm install mag-component-panel

Usage

Add the constructor to the scope:

var Panel = require('mag-component-panel');

Create instance with custom config:

var panel = new Panel({
        title: [
            {
                value: _('Menu'),
                className: 'name'
            }
        ],
        events: {
            focus: function () {}
        },
        children: [
            new LayoutList({
                cycle: true,
                data: [],
                fixedData: true,
                size: 6
            })
        ]
    });

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 problems or suggestions please open an issue according to the contribution rules.

License

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

Keywords

mag

FAQs

Package last updated on 12 Dec 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts