NG-模型和区别NG-模型即时AngularJS [英] Difference between ng-model and ng-model-instant AngularJS

查看:151
本文介绍了NG-模型和区别NG-模型即时AngularJS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

NG-模型和NG-模型时刻之间有什么区别?当我可以用NG-模型即时和NG-模式?

What difference between ng-model and ng-model-instant? When I can use ng-model-instant and ng-model?

你能给我什么例子?

感谢。

推荐答案

NG-模型即时在1.0版本的候选人之一已被删除, NG-模型现在的行为的方式。该1.0 RC之前, NG-模型即时被触发的每一个关键preSS和 NG-模型上每一个模糊。请参见 changelog的

ng-model-instant was removed in one of the 1.0 release candidates, and ng-model now behaves that way. Before that 1.0 RC, ng-model-instant was triggered on every key press and ng-model on every blur. See the changelog.

这篇关于NG-模型和区别NG-模型即时AngularJS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆