API Docs for: 2.10.19
Show:

oreesh-checkbox Class

Group of checkbox buttons

// Can be created dynamically
var checkbox = new OreeshCheckbox();


<!-- Or via HTML -->
<oreesh-checkbox>
    <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>
</oreesh-checkbox>

Item Index

Attributes

disabled

Whether to make the element disabled

limit

The limit of available choices

no-border

The currently selcted oreesh-checkbox-button style border: none;

no-border-color

The currently selcted oreesh-checkbox-button style border-color: transparent;

value

An array containing the currently selcted values