c10c060d20
* feat(common): support `as` syntax in template/* bindings Closes #15020 Showing the new and the equivalent old syntax. - `*ngIf="exp as var1”` => `*ngIf="exp; let var1 = ngIf”` - `*ngFor="var item of itemsStream |async as items”` => `*ngFor="var item of itemsStream |async; let items = ngForOf”` * feat(common): convert ngIf to use `*ngIf="exp as local“` syntax * feat(common): convert ngForOf to use `*ngFor=“let i of exp as local“` syntax * feat(common): expose NgForOfContext and NgIfContext |
||
---|---|---|
.. | ||
ng_class_spec.ts | ||
ng_component_outlet_spec.ts | ||
ng_for_spec.ts | ||
ng_if_spec.ts | ||
ng_plural_spec.ts | ||
ng_style_spec.ts | ||
ng_switch_spec.ts | ||
ng_template_outlet_spec.ts | ||
non_bindable_spec.ts |