You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compatibility mode for `@angular/material` allows the components to exist side-by-side with AngularJS Material components without any CSS collisions.
3
+
4
+
## What does compatibility mode do?
5
+
When enabled, compatibility mode enforces that all template APIs use the prefix `mat-` instead of `md-`. This will prevent any CSS from AngularJS Material from affecting the components in `@angular/material`.
6
+
7
+
## How is compatibility mode enabled?
8
+
Import `NoConflictStyleCompatibilityMode` into your application's root `NgModule`.
9
+
10
+
11
+
## Example
12
+
13
+
```html
14
+
<!-- Regular mode -->
15
+
<buttonmd-buttonmdTooltip="With a tooltip">Regular button</button>
16
+
17
+
<!-- In compatibility mode -->
18
+
<buttonmat-buttonmatTooltip="With a compatibility mode tooltip">Compatibility Mode button</button>
0 commit comments