mofron-comp-radiolist
v0.3.0
Published
radio button list component for component
Downloads
15
Readme
mofron-comp-radiolist
mofron is module based frontend framework.
radiobutton list component for mofron
Install
npm install mofron mofron-comp-radiolist
Sample
<setting>
<tag load="mofron-comp-radiolist">RadioList</tag>
<tag load="mofron-layout-margin">Margin</tag>
</setting>
<RadioList layout=Margin:("left","0.2rem")>
<radio>radio_1</radio>
<radio>radio_2</radio>
</RadioList>
Parameter
| ShortForm | Parameter Name | Type | Description | |:-------------:|:---------------|:-----|:------------| | ◯ | text | mixed | array: radio contents list | | | | | string: radio text string | | | | | mofron-comp-text: radio text component | | | radio | mixed | string: text contents string | | | | | mofron-comp-text: text contents component | | | | | array: radio-button text contents list | | | | | undefined: call as getter | | | select | number | select target index | | | value | boolean | same as 'select' parameter | | | | number | same as 'select' parameter | | | status | boolean | true: change enable mode (default) | | | | | false: change disable mode | | | | | undefined: call as getter | | | clear | ||