From f8c8e7f28d5df7818b80f144111f1c9749dc0474 Mon Sep 17 00:00:00 2001 From: Jeremy Elbourn Date: Thu, 2 Feb 2017 16:54:59 -0800 Subject: [PATCH] chore(button-toggle): add mat- prefix (#2826) --- src/lib/button-toggle/button-toggle.ts | 2 +- src/lib/core/compatibility/compatibility.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/button-toggle/button-toggle.ts b/src/lib/button-toggle/button-toggle.ts index ff2c28ab351..408663be067 100644 --- a/src/lib/button-toggle/button-toggle.ts +++ b/src/lib/button-toggle/button-toggle.ts @@ -280,7 +280,7 @@ export class MdButtonToggleGroupMultiple { /** Single button inside of a toggle group. */ @Component({ moduleId: module.id, - selector: 'md-button-toggle', + selector: 'md-button-toggle, mat-button-toggle', templateUrl: 'button-toggle.html', styleUrls: ['button-toggle.css'], encapsulation: ViewEncapsulation.None, diff --git a/src/lib/core/compatibility/compatibility.ts b/src/lib/core/compatibility/compatibility.ts index 136e734d674..00122a70363 100644 --- a/src/lib/core/compatibility/compatibility.ts +++ b/src/lib/core/compatibility/compatibility.ts @@ -26,6 +26,7 @@ export const MAT_ELEMENTS_SELECTOR = ` [mat-tab-nav-bar], mat-autocomplete, mat-button-toggle-group, + mat-button-toggle, mat-card, mat-card-actions, mat-card-content, @@ -83,6 +84,7 @@ export const MD_ELEMENTS_SELECTOR = ` [md-tab-nav-bar], md-autocomplete, md-button-toggle-group, + md-button-toggle, md-card, md-card-actions, md-card-content,