Radio buttons
The mdcRadio
directive creates material designed radio buttons.
API
Directive: MdcRadioInputDirective
Selector: input[mdcRadioInput][type=radio]
Directive for the input element of an MdcRadioDirective
.
Directive: MdcRadioDirective
Selector: [mdcRadio]
Directive for creating a Material Design radio button. The radio button is driven by an
underlying native radio input, which must use the MdcRadioInputDirective
directive.
The current implementation will add all other required DOM elements (such as the
background).
Future implementations will also support supplying (customized) background
elements.
This directive can be used together with an mdcFormField
to
easily position radio buttons and their labels, see
mdcFormField.