mofron-effect-vrtpos

0.2.2 • Public • Published

mofron-effect-vrtpos

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'.

Install

npm install mofron mofron-effect-vrtpos

Sample

<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>

Parameter

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

Readme

Keywords

Package Sidebar

Install

npm i mofron-effect-vrtpos

Weekly Downloads

31

Version

0.2.2

License

MIT

Unpacked Size

9.85 kB

Total Files

5

Last publish

Collaborators

  • simparts