mofron is module based frontend framework.
hover event for mofron
this event notifies when the mouse is hovered or outed on the component.
-
component: event target component object
-
event: "click" event object by addEventListener
-
mixed: user specified parameter
npm install mofron mofron-event-hover
<require>
<tag load="mofron-comp-frame">Frame</tag>
<tag load="mofron-event-hover">Hover</tag>
</require>
<script run=init>
let evt = (e1,e2,e3) => {
console.log(e2);
}
</script>
<Frame event=Hover:@evt>
</Frame>
Short Form |
Parameter Name | Type | Description |
---|---|---|---|
status | boolean | hover status |