0.0.7 • Published 3 years ago
mofron-event-visiclick v0.0.7
mofron-event-visiclick
mofron is module based frontend framework.
visible switch click event for mofron
Install
npm install mofron mofron-event-visiclickSample
<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
| ShortForm | 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 |