zl程序教程

您现在的位置是:首页 >  其它

当前栏目

[AngularJS] :: one time binding

Time angularjs One Binding
2023-09-14 09:00:56 时间

Read More: http://jsbin.com/dijeno/9/edit

Syntax: 

 {{::person.name}}

AngularJS's two-way binding is one of the "killer features" of the framework. The problem is that too many bindings can cause performance issues! Many times, all you need to do is bind a single time to get the data to display, and don't need dynamic two-way binding. In Angular 1.3, they've added new syntax to enable one-time data bindings.