mofron-comp-appbase

application base component for mofron


Keywords
front-end, mofron
License
MIT
Install
npm install mofron-comp-appbase@0.6.4

Documentation

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

<setting>
    <tag module="mofron-comp-image">Image</tag>
    <tag module="mofron-comp-appbase">AppBase</tag>
</setting>

<AppBase title=AppBase,"./img/logo.png">
    <background>
        <Image>./img/mofron.png</Image>
    </background>
</AppBase>

Parameter

Short
Form
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
dict style option
mainColor mixed (color) string: color name, #hex
array: [red, green, blue, alpha]
option style option