angular.dart NgTwoWay和NgAttr不赞成?

编程入门 行业动态 更新时间:2024-10-28 20:22:29
本文介绍了angular.dart NgTwoWay和NgAttr不赞成?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我刚刚开始使用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不赞成?

本文发布于:2023-11-09 10:52:16,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1572176.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:不赞成   dart   angular   NgAttr   NgTwoWay

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!