File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -298,14 +298,16 @@ then the expression is not fulfilled and will remain watched.
298298
299299### How to benefit from one-time binding
300300
301- When interpolating text or attributes. If the expression, once set, will not change
302- then it is a candidate for one-time expression.
301+ If the expression will not change once set, it is a candidate for one-time binding.
302+ Here are three example cases.
303+
304+ When interpolating text or attributes:
303305
304306```html
305307 <div name="attr: {{::color}}">text: {{::name}}</div>
306308```
307309
308- When using a directive with bidirectional binding and the parameters will not change
310+ When using a directive with bidirectional binding and the parameters will not change:
309311
310312```js
311313someModule.directive('someDirective', function() {
@@ -324,7 +326,7 @@ someModule.directive('someDirective', function() {
324326```
325327
326328
327- When using a directive that takes an expression
329+ When using a directive that takes an expression:
328330
329331```html
330332<ul>
You can’t perform that action at this time.
0 commit comments