Skip to content

Commit

Permalink
docs(guides): add guide for using compatibility mode
Browse files Browse the repository at this point in the history
Fixes #4018
  • Loading branch information
epelc committed Apr 13, 2017
1 parent b5f15ad commit c564385
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions guides/compatibility-mode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
## What is compatibility mode?
Compatibility mode for `@angular/material` allows the components to exist side-by-side with AngularJS Material components without any CSS collisions.

## What does compatibility mode do?
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`.

## How is compatibility mode enabled?
Import `NoConflictStyleCompatibilityMode` into your application's root `NgModule`.

0 comments on commit c564385

Please sign in to comment.