Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 625 Bytes

README.md

File metadata and controls

47 lines (31 loc) · 625 Bytes

Checkbox

Checkbox

How to use

"checkbox": {
    "prototype": "digit/ui/checkbox.reel",
    "properties": {
        "element": {"#": "checkbox"}
    }
}
<span data-montage-id="checkbox"></span>

Available properties

  • checked - The checked state of the checkbox.
  • value - The value of the checkbox.
  • enabled - The state of the checkbox.

Customizing with CSS

  • .digit-Checkbox - The checkbox element
.digit-Checkbox {
    border-color: blue;
}

Browser support

  • Chrome (latest)
  • Firefox (latest)
  • Opera (latest)
  • IE 10+
  • Safari 7+