this._delegate.setNgStyle 不是 Angular 8 更新后的函数
this._delegate.setNgStyle is not a function after Angular 8 update
将我的项目从 angular 7 更新到 angular 8 并修复所有由重大更改引起的错误后,我面临以下问题:
<div fxFill ngStyle.xs="overflow:auto">
上面的行给我以下错误:
ERROR TypeError: this._delegate.setNgStyle is not a function
知道出了什么问题吗?
也许你的代码应该是
[ngStyle]="{'font-style': styleExp}"
或
[style.xs]
正在将 FlexLayout 更新到最新版本,为我解决了这个问题。
来自“@angular/flex-layout”:“7.0.0-beta.19”
至“@angular/flex-layout”:“8.0.0-beta.26”
将我的项目从 angular 7 更新到 angular 8 并修复所有由重大更改引起的错误后,我面临以下问题:
<div fxFill ngStyle.xs="overflow:auto">
上面的行给我以下错误:
ERROR TypeError: this._delegate.setNgStyle is not a function
知道出了什么问题吗?
也许你的代码应该是
[ngStyle]="{'font-style': styleExp}"
或
[style.xs]
正在将 FlexLayout 更新到最新版本,为我解决了这个问题。 来自“@angular/flex-layout”:“7.0.0-beta.19” 至“@angular/flex-layout”:“8.0.0-beta.26”