mofron-event-visiclick

0.0.7 • Public • Published

mofron-event-visiclick

mofron is module based frontend framework.

visible switch click event for mofron

Install

npm install mofron mofron-event-visiclick

Sample

<setting>
    <tag load="mofron-comp-text">Text</tag>
    <tag load="mofron-comp-button">Button</tag>
    <tag load="mofron-event-visiclick">vsClick</tag>
</setting>

<Text name=tes>Test</Text>
<Button event=vsClick:("switch",@tes)>switch</Button>

Parameter

Short
Form
Parameter Name Type Description
tgtComp mixed Component: set visible target component
undefined: call as getter
callback function callback function
undefined: call as getter
mode string visible mode ('enable', 'disable', 'switch')
undefined: call as getter

Readme

Keywords

Package Sidebar

Install

npm i mofron-event-visiclick

Weekly Downloads

4

Version

0.0.7

License

MIT

Unpacked Size

6.37 kB

Total Files

5

Last publish

Collaborators

  • simparts