md-elevation 停止工作?
md-elevation stopped working?
几周前我在使用
class="md-elevation-z10"
不过最近好像不行了。我在应用程序中使用它的所有地方都停止显示高程。
最近有什么改变使 md-elevation-z# 停止工作吗?我似乎找不到任何记录或 Google.
Changelog.md 重大变更
Styling is no longer prefixed by md-
. All styling is now prefixed by
mat-
so that apps can upgrade from AngularJS Material to Angular
Material without styling conflicts between the two library components.
此更改已在 beta.1 版本中引入。所以你应该使用 mat-
前缀而不是 md-
前进。
class="mat-elevation-z10"
几周前我在使用
class="md-elevation-z10"
不过最近好像不行了。我在应用程序中使用它的所有地方都停止显示高程。
最近有什么改变使 md-elevation-z# 停止工作吗?我似乎找不到任何记录或 Google.
Changelog.md 重大变更
Styling is no longer prefixed by
md-
. All styling is now prefixed bymat-
so that apps can upgrade from AngularJS Material to Angular Material without styling conflicts between the two library components.
此更改已在 beta.1 版本中引入。所以你应该使用 mat-
前缀而不是 md-
前进。
class="mat-elevation-z10"