0.4.4 • Published 3 years ago
mofron-comp-prjtop v0.4.4
mofron-comp-prjtop
mofron is module based frontend framework.
project component for mofron
it makes easy to build project top contents
Install
npm install mofron mofron-comp-prjtop
Sample
<setting>
<tag load="mofron-comp-appbase">AppBase</tag>
<tag load="mofron-comp-prjtop">PrjTop</tag>
</setting>
<AppBase>
<PrjTop text="Project Top Page">
<button url="./">Get Started</button>
</PrjTop>
</AppBase>
Parameter
ShortForm | Parameter Name | Type | Description |
---|---|---|---|
image | mixed | string: path to image | |
mofron-comp-image: replace image component | |||
dict | config for image component | ||
◯ | text | mixed | string: phrase text |
mofron-comp-text: replace text component | |||
dict | config for text component | ||
text2 | mixed | string: phrase text | |
mofron-comp-text: replace text component | |||
dict | config for text component | ||
button | mixed | mofron-comp-button: replace button component | |
string: button text | |||
dict | config for buttom component | ||
url: set jump url (default is './') | |||
offset | string (size) | offset size |