0.0.1 • Published 2 years ago

mofron-comp-right v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

mofron-comp-arrow

mofron is module based frontend framework.

arrow component for mofron

Attention

  • right.svg must be in the proper position to use this component.

Install

npm install mofron mofron-comp-arrow

Sample

<setting>
    <tag load="mofron-comp-right">Arrow</tag>
    
    <html-style>
        <mf-access device=mobile orientation=portrait>font-size:625%;</mf-access>
        <mf-access device=mobile orientation=landscape>font-size:800%;</mf-access>
        <mf-access device=tablet>font-size:800%;</mf-access>
    </html-style>
    <root-conf>
        <theme>
            <Text:config font="'M PLUS Rounded 1c'"></Text:config>
        </theme>
    </root-conf>
</setting>

<Arrow path="./img/arrow.svg" size=(3rem,2.5rem)></Arrow>

Parameter

ShortFormParameter NameTypeDescription
typestringarrow direction (right,left,up,down)
sizesizehorizon size of arrow
sizevertical size of arrow