Content
View differences
Updated by Alexander Coles 9 months ago
Old structural directives \`\*ngIf\`, \`\*ngFor\`, and \`\[ngSwitch\]\` are now deprecated and will be removed in v22.
See [https://angular.dev/api/common/NgIf](https://angular.dev/api/common/NgIf)
See [https://angular.dev/api/common/NgFor](https://angular.dev/api/common/NgFor)
See [https://angular.dev/api/common/NgSwitch](https://angular.dev/api/common/NgSwitch)
Angular provides a schematic to automatically convert templates:
`ng generate @angular/core:control-flow`
Code maintenance work should also fix ESLint / html lint errors, where feasible. N.B. There is a separate ticket (<mention class="mention" data-id="67399" data-type="work_package" data-text="#67399">#67399</mention>) for Accessibility-related ESLint failures.
See [https://angular.dev/api/common/NgIf](https://angular.dev/api/common/NgIf)
See [https://angular.dev/api/common/NgFor](https://angular.dev/api/common/NgFor)
See [https://angular.dev/api/common/NgSwitch](https://angular.dev/api/common/NgSwitch)
Angular provides a schematic to automatically convert templates:
`ng generate @angular/core:control-flow`
Code maintenance work should also fix ESLint / html lint errors, where feasible. N.B. There is a separate ticket (<mention class="mention" data-id="67399" data-type="work_package" data-text="#67399">#67399</mention>) for Accessibility-related ESLint failures.