Modal component
Modal is a component to build user interface, an instance of Component module.
Installation
npm install mag-component-modal
Usage
Add component to the scope:
var Modal = ;
Create instance with custom config:
pagemodal = title: 'My Title' icon: 'star' children: value: 'Create';
Add component to the page and show it:
page;pagemodal;
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-modal
is released under the MIT License.