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

README.md

RadioButton

RadioButton

How to use

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

Available properties

  • value - Value of the radio group.
  • checked - The checked state of the radio button.
  • radioButtonController - The controller of the radio button.

Customizing with CSS

  • .digit-RadioButton - The radio button element
.digit-RadioButton {
    border-color: blue;
}

Browser support

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