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 |
||
---|---|---|
.. | ||
src | ||
test | ||
testing | ||
index.ts | ||
package.json | ||
rollup-testing.config.js | ||
rollup.config.js | ||
tsconfig-build.json | ||
tsconfig-testing.json |