@@ -671,7 +671,7 @@ code-example(format="nocode").
671
671
:marked
672
672
Finally, we can bind to a specific class name.
673
673
Angular adds the class when the template expression evaluates to #{_truthy}.
674
- It removes the class when the expression is #{_falsey }.
674
+ It removes the class when the expression is #{_falsy }.
675
675
+ makeExample('template-syntax/ts/app/app.component.html' , 'class-binding-3' )( format ="." )
676
676
677
677
.l-sub-section
@@ -828,7 +828,7 @@ block style-property-name-dart-diff
828
828
[event propagation](https://developer.mozilla.org/en-US/docs/Web/API/Document_Object_Model/Examples#Example_5:_Event_Propagation)
829
829
continues or stops with the current element.
830
830
831
- Event propagation stops if the binding statement returns a falsey value (as does a method with no return value).
831
+ Event propagation stops if the binding statement returns a falsy value (as does a method with no return value).
832
832
Clicking the button in the next example triggers a save;
833
833
the click doesn't make it to the outer `<div>` so the div's save handler is not called.
834
834
+makeExample('template-syntax/ts/app/app.component.html', 'event-binding-no-propagation')(format=".")
@@ -1052,10 +1052,10 @@ figure.image-display
1052
1052
Don't forget the asterisk (`*`) in front of `ngIf`.
1053
1053
For more information, see [\* and <template>](#star-template).
1054
1054
:marked
1055
- Binding to a #{_falsey } expression removes the element subtree from the DOM.
1055
+ Binding to a #{_falsy } expression removes the element subtree from the DOM.
1056
1056
+ makeExample('template-syntax/ts/app/app.component.html' , 'NgIf-2' )( format ="." )
1057
1057
1058
- block dart-no-truthy-falsey
1058
+ block dart-no-truthy-falsy
1059
1059
//- N/A
1060
1060
1061
1061
:marked
0 commit comments