File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
src/material-experimental/mdc-radio Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 9
9
import { CommonModule } from '@angular/common' ;
10
10
import { NgModule } from '@angular/core' ;
11
11
import { MatCommonModule } from '@angular/material/core' ;
12
- import { MatRadio } from './radio' ;
12
+ import { MatRadioButton } from './radio' ;
13
13
14
14
@NgModule ( {
15
15
imports : [ MatCommonModule , CommonModule ] ,
16
- exports : [ MatRadio , MatCommonModule ] ,
17
- declarations : [ MatRadio ] ,
16
+ exports : [ MatRadioButton , MatCommonModule ] ,
17
+ declarations : [ MatRadioButton ] ,
18
18
} )
19
19
export class MatRadioModule {
20
20
}
Original file line number Diff line number Diff line change @@ -13,18 +13,18 @@ let nextUniqueId = 0;
13
13
14
14
@Component ( {
15
15
moduleId : module . id ,
16
- selector : 'mat-radio' ,
16
+ selector : 'mat-radio-button ' ,
17
17
templateUrl : 'radio.html' ,
18
18
styleUrls : [ 'radio.css' ] ,
19
19
host : {
20
20
'class' : 'mat-mdc-radio' ,
21
21
'[attr.id]' : 'id' ,
22
22
} ,
23
- exportAs : 'matRadio ' ,
23
+ exportAs : 'matRadioButton ' ,
24
24
encapsulation : ViewEncapsulation . None ,
25
25
changeDetection : ChangeDetectionStrategy . OnPush ,
26
26
} )
27
- export class MatRadio {
27
+ export class MatRadioButton {
28
28
29
29
private _uniqueId : string = `mat-radio-${ ++ nextUniqueId } ` ;
30
30
You can’t perform that action at this time.
0 commit comments