0.1.0 • Published 9 months ago

mofron-event-tap v0.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
9 months ago

mofron-event-tap

mofron is module based frontend framework.

tap event for mofron

Install

npm install mofron mofron-event-tap

Sample

<setting>
    <tag load="mofron-comp-text">Text</tag>
    <tag load="mofron-event-tap">Tap</tag>
    <access-style>
        <mobile orientation=portrait>font-size:1500%;</mobile>
        <mobile orientation=landscape>font-size:800%;</mobile>
        <tablet>font-size:800%;</tablet>
        <default>font-size:625%;</default>
    </access-style>
</setting>

<script name=tap_evt run=init>
console.log("tap event");
</script>

<Text size=0.4rem event=Tap:@tap_evt>Tap Event</Text>

Parameter

ShortFormParameter NameTypeDescription
taponlybooleantrue: ignore click,mouse event
false: nothing to do