Skip to content

mofron/mofron-event-clkfocus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mofron-event-clkfocus

mofron is module based frontend framework.

click focus event for mofron

event function parameter

  • component: event target component object

  • boolean: focus flag

  • mixed: user specified parameter

Feature

  • this event notify when enable focus by clicking component and disable focus by clicking the other than that.

Attention

  • not supported focus event by tab key

Install

npm install mofron mofron-event-clkfocus

Sample

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

Parameter

Short
Form
Parameter Name Type Description
status boolean focus status flag
undefined: call as getter

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published