mofron-comp-appbase
mofron is module based frontend framework.
common application component for mofron
it makes easy to build page.
Install
npm install mofron mofron-comp-appbase
Sample
<require>
<tag module="mofron-comp-image">Image</tag>
<tag module="mofron-comp-appbase">AppBase</tag>
</require>
<AppBase title=AppBase,"./img/logo.png">
<background>
<Image>./img/mofron.png</Image>
</background>
</AppBase>
Parameter
Simple Param | Parameter Name | Type | Description |
---|
| title | mixed | string/mofron-comp-text: app title |
| | mixed | string: path to app logo image |
| | | mofron-comp-image: logo image |
| header | mofron-comp-header | header component |
| background | component | background component |
| height | string (size) | height size |
| | option | style option |
| mainColor | mixed (color) | string: color name, #hex |
| | | array: [red, green, blue, alpha] |
| | option | style option |
| baseColor | mixed (color) | string: color name, #hex |
| | | array: [red, green, blue, alpha] |
| | option | style option |