File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
1
` <md-radio> ` provides the same functionality as a native ` <input type="radio"> ` enhanced with
2
- Material Design styling and animations.
3
-
2
+ Material Design styling and animations.
3
+
4
4
<!-- example(radio-overview) -->
5
-
5
+
6
6
All radio-buttons with the same ` name ` comprise a set from which only one may be selected at a time.
7
-
7
+
8
8
### Radio-button label
9
- The radio-button label is provided as the content to the ` <md-checkbox > ` element. The label can be
10
- positioned before or after the radio-button by setting the ` labelPosition ` property to ` 'before' `
9
+ The radio-button label is provided as the content to the ` <md-radio-button > ` element. The label can
10
+ be positioned before or after the radio-button by setting the ` labelPosition ` property to ` 'before' `
11
11
or ` 'after' ` .
12
12
13
- If you don't want the label to appear next to the radio-button, you can use
14
- [ ` aria-label ` ] ( https://www.w3.org/TR/wai-aria/states_and_properties#aria-label ) or
15
- [ ` aria-labelledby ` ] ( https://www.w3.org/TR/wai-aria/states_and_properties#aria-labelledby ) to
13
+ If you don't want the label to appear next to the radio-button, you can use
14
+ [ ` aria-label ` ] ( https://www.w3.org/TR/wai-aria/states_and_properties#aria-label ) or
15
+ [ ` aria-labelledby ` ] ( https://www.w3.org/TR/wai-aria/states_and_properties#aria-labelledby ) to
16
16
specify an appropriate label.
17
17
18
18
@@ -25,5 +25,5 @@ Individual radio-buttons inside of a radio-group will inherit the `name` of the
25
25
26
26
27
27
### Use with ` @angular/forms `
28
- ` <md-radio-group> ` is compatible with ` @angular/forms ` and supports both ` FormsModule `
28
+ ` <md-radio-group> ` is compatible with ` @angular/forms ` and supports both ` FormsModule `
29
29
and ` ReactiveFormsModule ` .
You can’t perform that action at this time.
0 commit comments