mofron is module based frontend framework.
radio button component for mofron
- text size is automatically changed when the height is changed.
npm install mofron mofron-comp-radio
<setting>
<tag load="mofron-comp-radio">Radio</tag>
</setting>
<script run=init>
let chg_evt = (p1,p2,p3) => { console.log(p2); }
</script>
<Radio size=0.5rem changeEvent=@chg_evt>radio button</Radio>
Short Form |
Parameter Name | Type | Description |
---|---|---|---|
◯ | text | mixed | string: radio text contents |
mofron-comp-text: radio text contents | |||
undefined: call as getter | |||
select | boolean | true: select | |
false: unselect | |||
undefined: call as getter | |||
value | boolean | same as 'select' | |
clear | |||
undefined: call as getter | |||
height | string(size) | radio button height | |
undefined: call as getter |