Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 616 Bytes

File metadata and controls

17 lines (13 loc) · 616 Bytes

Checkbox

Kind: global class

new exports.Checkbox(onChange, size, label, disabled, htmlAttributes)

The checkbox is shown as a square box that is ticked (checked) when activated.

Param Type Description
onChange function Callback function for onchange
size string One of the sm, lg
label string Label for checkbox
disabled boolean Disabled checkbox
htmlAttributes unknown You can assign any needed html attribute