@@ -14,15 +14,15 @@ let nextId = 0;
14
14
*
15
15
* Example:
16
16
* ```html
17
- * <igx-radiogroup name="radioGroup">
17
+ * <igx-radio-group name="radioGroup">
18
18
* <igx-radio *ngFor="let item of ['Foo', 'Bar', 'Baz']" value="{{item}}">
19
19
* {{item}}
20
20
* </igx-radio>
21
- * </igx-radiogroup >
21
+ * </igx-radio-group >
22
22
* ```
23
23
*/
24
24
@Directive ( {
25
- selector : 'igx-radiogroup , [igxRadioGroup]' ,
25
+ selector : 'igx-radio-group , [igxRadioGroup]' ,
26
26
providers : [ { provide : NG_VALUE_ACCESSOR , useExisting : IgxRadioGroupDirective , multi : true } ]
27
27
} )
28
28
export class IgxRadioGroupDirective implements AfterContentInit , ControlValueAccessor {
@@ -38,7 +38,7 @@ export class IgxRadioGroupDirective implements AfterContentInit, ControlValueAcc
38
38
/**
39
39
* Sets/gets the `value` attribute.
40
40
* ```html
41
- * <igx-radiogroup [value] = "'radioButtonValue'"></igx-radiogroup >
41
+ * <igx-radio-group [value] = "'radioButtonValue'"></igx-radio-group >
42
42
* ```
43
43
* ```typescript
44
44
* let value = this.radioGroup.value;
@@ -57,7 +57,7 @@ export class IgxRadioGroupDirective implements AfterContentInit, ControlValueAcc
57
57
/**
58
58
* Sets/gets the `name` attribute of the radio group component. All child radio buttons inherits this name.
59
59
* ```html
60
- * <igx-radiogroup name = "Radio1"></igx-radiogroup >
60
+ * <igx-radio-group name = "Radio1"></igx-radio-group >
61
61
* ```
62
62
* ```typescript
63
63
* let name = this.radioGroup.name;
@@ -77,7 +77,7 @@ export class IgxRadioGroupDirective implements AfterContentInit, ControlValueAcc
77
77
* Sets/gets whether the radio group is required.
78
78
* If not set, `required` will have value `false`.
79
79
* ```html
80
- * <igx-radiogroup [required] = "true"></igx-radiogroup >
80
+ * <igx-radio-group [required] = "true"></igx-radio-group >
81
81
* ```
82
82
* ```typescript
83
83
* let isRequired = this.radioGroup.required;
@@ -96,7 +96,7 @@ export class IgxRadioGroupDirective implements AfterContentInit, ControlValueAcc
96
96
/**
97
97
* An @Input property that allows you to disable the radio group. By default it's false.
98
98
* ```html
99
- * <igx-radiogroup [disabled]="true"></igx-radiogroup >
99
+ * <igx-radio-group [disabled]="true"></igx-radio-group >
100
100
* ```
101
101
* @memberof IgxRadioGroupDirective
102
102
*/
@@ -113,7 +113,7 @@ export class IgxRadioGroupDirective implements AfterContentInit, ControlValueAcc
113
113
* Sets/gets the position of the `label` in the child radio buttons.
114
114
* If not set, `labelPosition` will have value `"after"`.
115
115
* ```html
116
- * <igx-radiogroup labelPosition = "before"></igx-radiogroup >
116
+ * <igx-radio-group labelPosition = "before"></igx-radio-group >
117
117
* ```
118
118
* ```typescript
119
119
* let labelPosition = this.radioGroup.labelPosition;
0 commit comments