Skip to content

Latest commit

 

History

History

radio-button.reel

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+