0.2.0 • Published 3 years ago
mofron-effect-style v0.2.0
mofron-effect-style
mofron is module based frontend framework.
style effect for mofron
it is possible to set style that work with some event by using 'eid' parameter.
Install
npm install mofron mofron-effect-style
Sample
<require>
<tag load="mofron-comp-text">Text</tag>
<tag load="mofron-event-click">Click</tag>
<tag load="mofron-effect-style">efStyle</tag>
</require>
<Text text="Style Effect">
<effect>
<efStyle eid=2>color:red;</efStyle>
</effect>
<event>
<Click eid=2></Click>
</event>
</Text>
Parameter
ShortForm | Parameter Name | Type | Description |
---|---|---|---|
◯ | style | mixed | string: style contents string |
key-value: style contents | |||
◯ | options | key-value | style option |