angular.dart NgTwoWay and NgAttr deprecated?

☆樱花仙子☆ 提交于 2019-12-01 15:42:27

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.

As of AngularDart 0.13.0, these attributes are no longer marked as deprecated.

As Pavel pointed out, the deprecation was premature. We may re-deprecate them when we have a better way of doing things, but for now you can use them without that nagging feeling that you are doing something wrong.

There is a new milestone for bind-* syntax which has issues discussing these changes, it may not be actually removed until 1.0 is what I feel.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!