Widget component
Widget is a component to build user interface, an instance of Component module.
Installation
npm install spa-component-widget
Usage
Add the constructor to the scope:
var Widget = ;
Create invisible widget:
var widget = $node: windowpmInfoWidget;
Show it:
widget;
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
spa-component-widget
is released under the MIT License.