我刚刚开始使用Angular dart和Im通过在线教程中的例子,DartEditor目前引人注目的NgAttr和NgTwoWay说他们被弃用,是这种情况吗?如果是这样,他们被替换了什么?自动文档不说。
I have just started using Angular dart and Im going through the online tutorial with examples, and DartEditor is currently striking out NgAttr and NgTwoWay saying they are deprecated, is this the case? and if so what are they being replaced with? the auto docs don't say.
推荐答案NgAttr , NgOneWay , NgTwoWay 等标记为弃用,准备新的 bind - * 语法,但尚未实现。因此,弃用可能是有点过早,因为没有用户采取行动,但我想这是即将发生的重大突破性变化的第一次警告。
NgAttr, NgOneWay, NgTwoWay, etc. were marked deprecated in preparation to the new bind-* syntax, which is not implemented, yet. So deprecation is arguably a bit premature, since there's no action for users to take, but I guess it is a first warning of the impending major breaking change.
更多推荐
angular.dart NgTwoWay和NgAttr不赞成?
发布评论