Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
README.md
checkbox.css
checkbox.html
checkbox.js
checkbox.meta
screenshot.png

README.md

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+