0.2.0 • Published 4 years ago

mofron-comp-close v0.2.0

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

mofron-comp-close

mofron is module based frontend framework.

close component for mofron

Feature

  • target component is invisible when a close component is clicked.

Install

npm install mofron mofron-comp-close

Sample

<setting>
    <tag load="mofron-comp-frame">Frame</tag>
    <tag load="mofron-comp-close">Close</tag>
    <tag load="mofron-effect-hrzpos">Hrzpos</tag>
</setting>

<Frame name=frame>
    <Close effect=Hrzpos:"right" close-tgt=@frame></Close>
</Frame>

Parameter

ShortFormParameter NameTypeDescription
closeTgtmixedstring: component object key
mofron.class.Component: close target component
undefined: call as getter
closeCompmofron.class.Componentclose component
undefined: call as getter
heightstring(size)height size
undefined: call as getter
key-valuestyle option
widthstring(size)width size
undefined: call as getter
key-valuestyle option
mainColormixed(color)string: color name, #hex
array: red, green, blue, (alpha)
undefined: call as getter
key-valuestyle option
accentColormixed(color)string: color name, #hex
array: red, green, blue, (alpha)
undefined: call as getter
key-valuestyle option
0.2.0

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.2

5 years ago

0.0.1

5 years ago