mofron is module based frontend framework.
click focus event for mofron
-
component: event target component object
-
boolean: focus flag
-
mixed: user specified parameter
- this event notify when enable focus by clicking component and disable focus by clicking the other than that.
- not supported focus event by tab key
npm install mofron mofron-event-clkfocus
<require>
<tag module="mofron-comp-frame">Frame</tag>
<tag module="mofron-event-clkfocus">Focus</tag>
</require>
<script name=cevt run=init>
cevt1.color((true === cevt2) ? "#f0e6fa" : "#FFFFFF");
</script>
<Frame event=Focus:@cevt></Frame>
Short Form |
Parameter Name | Type | Description |
---|---|---|---|
status | boolean | focus status flag | |
undefined: call as getter |