0.2.2 • Published 3 years ago
mofron-comp-checklist v0.2.2
mofron-comp-checklist
mofron is module based frontend framework.
checkbox list component for mofron
Install
npm install mofron mofron-comp-checklistSample
<setting>
<tag load="mofron-comp-checklist">CheckList</tag>
</setting>
<CheckList>
<checkbox>check_1</checkbox>
<checkbox>check_2</checkbox>
<checkbox>check_3</checkbox>
</CheckList>Parameter
| ShortForm | Parameter Name | Type | Description |
|---|---|---|---|
| text | mixed | string: text contents string | |
| mofron-comp-text: text contents component | |||
| array: checkbox text contents list | |||
| undefined: call as getter | |||
| checkbox | mixed | string: text contents string | |
| mofron-comp-text: text contents component | |||
| array: checkbox text contents list | |||
| undefined: call as getter | |||
| check | boolean | true: check | |
| false: uncheck | |||
| undefined: call as getter | |||
| number | check target index | ||
| value | boolean | the same as 'check' parameter | |
| number | the same as 'check' parameter | ||
| status | boolean | true: change enable mode (default) | |
| false: change disable mode | |||
| undefined: call as getter | |||
| clear |