Skip to content

mofron/mofron-comp-checkbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published