mofron-effect-synchei

0.2.1 • Public • Published

mofron-effect-synchei

mofron is module based frontend framework.

synchronize height of target component and height of effect component

this effect resizes height of a target component when the height of the target component changed.

Install

npm install mofron mofron-effect-synchei

Sample

<setting>
    <tag load="mofron-comp-text">Text</tag>
    <tag load="mofron-comp-frame">Frame</tag>
    <tag load="mofron-effect-synchei">SyncHei</tag>
</setting>
<Frame name=frm size=(3rem,1rem)>
    <Text effect=SynHei:(@frm,"-0.3rem")>Sync Height</Text>
</Frame>

Parameter

Short
Form
Parameter Name Type Description
targetComp mofron.class.Component target component
undefined: call as getter
offset string(size) offset value (default is '0rem')
undefined: call as getter

Readme

Keywords

Package Sidebar

Install

npm i mofron-effect-synchei

Weekly Downloads

0

Version

0.2.1

License

MIT

Unpacked Size

5.86 kB

Total Files

5

Last publish

Collaborators

  • simparts