b4db73d0bf
NgIf syntax has been extended to support else clause to display template when the condition is false. In addition the condition value can now be stored in local variable, for later reuse. This is especially useful when used with the `async` pipe. Example: ``` <div *ngIf="userObservable | async; else loading; let user"> Hello {{user.last}}, {{user.first}}! </div> <template #loading>Waiting...</template> ``` closes #13061 closes #13297 |
||
---|---|---|
.. | ||
@angular | ||
angular1_router | ||
benchmarks | ||
benchmarks_external | ||
e2e_util | ||
payload_tests/hello_world/ts | ||
playground | ||
rollup-test | ||
empty.ts | ||
es6-subset.d.ts | ||
system.d.ts | ||
tsconfig.json | ||
types.d.ts |