Skip to content

mofron/mofron-effect-style

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Short
Form
Parameter Name Type Description
style mixed string: style contents string
key-value: style contents
options key-value style option

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published