API Docs for: 2.10.19
Show:

oreesh-checkbox-button Class

Checkbox element with label

// Can be created dynamically
var checkboxButton = new OreeshCheckboxButton();


<!-- Or via HTML -->
<oreesh-checkbox-button label="1" value="0">Choose me</oreesh-checkbox-button>
<oreesh-checkbox-button label="2" value="1">Choose me, too!</oreesh-checkbox-button>
<oreesh-checkbox-button label="3" value="2" selected>I'm already selected</oreesh-checkbox-button>
<oreesh-checkbox-button label="4" value="3" disabled>I'm disabled</oreesh-checkbox-button>

Attributes

disabled

Whether to make the element disabled

label

The label to display inside checkbox

no-border

The element border: none; style

no-border-color

The element border-color: transparent; style

selected

Whether to make the element already selected

value

The value when checked