更新时间:2022-04-18 04:47:05
此合成器用于一次性绑定在AngularJS中:
This synthax is use for one-time binding in AngularJS:
以
::
开头的表达式被认为是一个时间表达。
如果表达式结果是
非未定义值(参见下面的数值稳定算法),则一次性表达式将停止重新计算,一旦它们稳定,
会在第一个摘要之后发生。 p>
An expression that starts with
::
is considered a one-time expression. One-time expressions will stop recalculating once they are stable, which happens after the first digest if the expression result is a non-undefined value (see value stabilization algorithm below).
请参阅 相关的Plunker 。