mofron is module based frontend framework.
vertical position effect for mofron component
the component is positioned specified parameter that is 'center' or 'top' and 'bottom'.
npm install mofron mofron-effect-vrtpos
<setting>
<tag load="mofron-comp-text">Text</tag>
<tag load="mofron-effect-vrtpos">VrtPos</tag>
</setting>
<div size=(1.5rem,0.8rem) style="display:flex;" color2=[220,220,220]>
<Text effect=VrtPos:"center">Vertical Position</Text>
</div>
Short Form |
Parameter Name | Type | Description |
---|---|---|---|
◯ | type | string | position type (center,top,bottom) |
undefined: call as getter | |||
◯ | offset | string(size) | offset size |
undefined: call as getter |