You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, in the case that the literal directive contains mustache tags, the behavior is as follows:
164
+
164
165
然而,在直接指令含有mustache标签的情形下,指令的行为如下所示:
165
166
166
167
- The directive instance will have a flag `this._isDynamicLiteral` set to `true`;
168
+
167
169
- 指令实例会有一个标记,`this._isDynamicLiteral` 被设为 `true`
168
170
169
171
- If no `update` function is provided, the mustache expression will be evaluated only once and assigned to `this.expression`. No data observation happens.
- If an `update` function is provided, the directive **will** setup data observation for that expression and call `update` when the evaluated result changes.
0 commit comments