File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 57
57
58
58
//- Other
59
59
- var _truthy = ' truthy' ;
60
- - var _falsey = ' falsey ' ;
60
+ - var _falsy = ' falsy ' ;
61
61
62
62
//- Used to prefix identifiers that are private. In Dart this will be '_'.
63
63
- var _priv = ' ' ;
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ include /_jade/_util-fns
15
15
- var _Observable = ' Stream' ;
16
16
- var _liveLink = ' sample repo' ;
17
17
- var _truthy = ' true' ;
18
- - var _falsey = ' false' ;
18
+ - var _falsy = ' false' ;
19
19
- var _appDir = ' lib' ;
20
20
- var _indexHtmlDir = ' web' ;
21
21
- var _mainDir = ' web' ;
Original file line number Diff line number Diff line change @@ -695,7 +695,7 @@ code-example(format="nocode").
695
695
:marked
696
696
Finally, we can bind to a specific class name.
697
697
Angular adds the class when the template expression evaluates to #{_truthy}.
698
- It removes the class when the expression is #{_falsey }.
698
+ It removes the class when the expression is #{_falsy }.
699
699
+ makeExample('template-syntax/ts/app/app.component.html' , 'class-binding-3' )( format ="." )
700
700
701
701
.l-sub-section
@@ -1075,7 +1075,7 @@ figure.image-display
1075
1075
Don't forget the asterisk (`*`) in front of `ngIf`.
1076
1076
For more information, see [\* and <template>](#star-template).
1077
1077
:marked
1078
- Binding to a #{_falsey } expression removes the element subtree from the DOM.
1078
+ Binding to a #{_falsy } expression removes the element subtree from the DOM.
1079
1079
+ makeExample('template-syntax/ts/app/app.component.html' , 'NgIf-2' )( format ="." )
1080
1080
1081
1081
.callout.is-helpful
You can’t perform that action at this time.
0 commit comments