diff --git a/adev/src/content/reference/errors/NG0910.md b/adev/src/content/reference/errors/NG0910.md index 8345f7c5b77..75bd044cec8 100644 --- a/adev/src/content/reference/errors/NG0910.md +++ b/adev/src/content/reference/errors/NG0910.md @@ -52,10 +52,14 @@ The recommended solution is to use the mentioned attributes as static ones, for ``` If you need to have different values for these attributes (depending on various conditions), -you can use an `*ngIf` or an `*ngSwitch` on an ` - - +@if (someConditionA) { + +} @else if (someConditionB) { + +} @else { + +} ```