mofron-comp-checkbox

0.5.3 • Public • Published

mofron-comp-checkbox

mofron is module based frontend framework.

checkbox component for mofron

Feature

  • checkbox text size is automatically changed when the height is changed.

Install

npm install mofron mofron-comp-checkbox

Sample

<setting>
    <tag load="mofron-comp-checkbox">CheckBox</tag>
</setting>

<script run=init>
let chg_evt = (p1,p2,p3) => { console.log(p2); }
</script>

<CheckBox change-event=@chg_evt>Check</CheckBox>

Parameter

Short
Form
Parameter Name Type Description
value boolean same as 'check'
check boolean true: check
false: uncheck
undefined: call as getter
text mixed string: check text string
mofron-comp-text: check text component
undefined: call as getter
clear
undefined: call as getter
height string (size) check box height
undefined: call as getter

Readme

Keywords

Package Sidebar

Install

npm i mofron-comp-checkbox

Weekly Downloads

4

Version

0.5.3

License

MIT

Unpacked Size

8.56 kB

Total Files

5

Last publish

Collaborators

  • simparts