0.1.0 • Published 9 months ago
mofron-event-tap v0.1.0
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
ShortForm | Parameter Name | Type | Description |
---|---|---|---|
taponly | boolean | true: ignore click,mouse event | |
false: nothing to do |