Skip to content

CheckBox

Code demo

xml
 <r-checkbox ></r-checkbox>

Attribute

checked

xml
 <r-checkbox checked="true"></r-checkbox>
 <r-checkbox checked="false"></r-checkbox>

disabled

xml
 <r-checkbox checked="true" disabled></r-checkbox>
 <r-checkbox checked="false" disabled></r-checkbox>

event

Common callback events.

onchange

xml
 <r-checkbox onchange="console.log(this.checked)"></r-checkbox>
 <r-checkbox onchange="console.log(this.checked)"></r-checkbox>

Released under the MIT License.