0.2.0 • Published 4 years ago

mofron-effect-syncwid v0.2.0

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

mofron-effect-syncwid

mofron is module based frontend framework.

synchronize width of target component and width of effect component

Install

npm install mofron mofron-effect-syncwid

Sample

<setting>
    <tag load="mofron-comp-frame">Frame</tag>
    <tag load="mofron-comp-button">Button</tag>
    <tag load="mofron-effect-syncwid">SyncWid</tag>
</setting>

<Frame name=frame width=2.5rem>
    <Button effect=SyncWid:(@frame,-0.02rem)>SyncWid effect</Button>
</Frame>

Parameter

ShortFormParameter NameTypeDescription
targetCompComponenttarget component
undefined: call as getter
offsetstring(size)offset value (default is '0rem')
undefined: call as getter
0.2.0

4 years ago

0.1.2

4 years ago

0.1.0

4 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago