0.8.1 • Published 3 years ago

mofron-comp-ujarak v0.8.1

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

mofron-comp-ujarak

mofron is module based frontend framework.

ujarak button component for mofron

this source based on the codrops: https://github.com/codrops/ButtonStylesInspiration

Install

npm install mofron mofron-comp-ujarak

Sample

<setting>
    <tag load="mofron-comp-ujarak">Button</tag>
</setting>

<Button size=(2rem,0.5rem) color=("#787878","#f0e6fa","#af6cf2")>
    <text>Test</text>
</Button>

Parameter

ShortFormParameter NameTypeDescription
textmixedstring: button text contents
mofron-comp-text: button text component
undefined: call as getter
invertbooleantrue: invert text color when cursor is overed on button
false: not invert
undefined: call as getter
mainColormixed (color)string: button text color name, #hex
array: red, green, blue, (alpha)
undefined: calla as getter
dictstyle option
baseColormixed (color)string: hover color name, #hex
array: red, green, blue, (alpha)
undefined: calla as getter
dictstyle option
0.8.1

3 years ago

0.8.0

3 years ago

0.7.7

4 years ago

0.7.6

4 years ago

0.7.5

4 years ago

0.7.4

4 years ago

0.7.3

4 years ago