Skip to content

Commit f8c8e7f

Browse files
jelbournkara
authored andcommitted
chore(button-toggle): add mat- prefix (#2826)
1 parent 7ac29f8 commit f8c8e7f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/lib/button-toggle/button-toggle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ export class MdButtonToggleGroupMultiple {
280280
/** Single button inside of a toggle group. */
281281
@Component({
282282
moduleId: module.id,
283-
selector: 'md-button-toggle',
283+
selector: 'md-button-toggle, mat-button-toggle',
284284
templateUrl: 'button-toggle.html',
285285
styleUrls: ['button-toggle.css'],
286286
encapsulation: ViewEncapsulation.None,

src/lib/core/compatibility/compatibility.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export const MAT_ELEMENTS_SELECTOR = `
2626
[mat-tab-nav-bar],
2727
mat-autocomplete,
2828
mat-button-toggle-group,
29+
mat-button-toggle,
2930
mat-card,
3031
mat-card-actions,
3132
mat-card-content,
@@ -83,6 +84,7 @@ export const MD_ELEMENTS_SELECTOR = `
8384
[md-tab-nav-bar],
8485
md-autocomplete,
8586
md-button-toggle-group,
87+
md-button-toggle,
8688
md-card,
8789
md-card-actions,
8890
md-card-content,

0 commit comments

Comments
 (0)