Skip to content

mofron/mofron-effect-syncwid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published