ng-model 和 ng-model-instant 有什么区别?我什么时候可以使用 ng-model-instant 和 ng-model?
你能举个例子吗?
谢谢。
最佳答案
ng-model-instant
在 1.0 候选发布版本之一中被删除,ng-model
现在以这种方式运行。在 1.0 RC 之前,每次按键都会触发 ng-model-instant
,每次模糊都会触发 ng-model
。参见 the changelog .
关于javascript - ng-model 和 ng-model-instant AngularJS 之间的区别,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18005738/