Skip to content

mofron/mofron-event-hover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mofron-event-hover

mofron is module based frontend framework.

hover event for mofron

this event notifies when the mouse is hovered or outed on the component.

event function parameter

  • component: event target component object

  • event: "click" event object by addEventListener

  • mixed: user specified parameter

Install

npm install mofron mofron-event-hover

Sample

<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>

Parameter

Short
Form
Parameter Name Type Description
status boolean hover status

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published