Angular Dart from the Beginning: 11 Structural Directives ngIf

preview_player
Показать описание
Directives are basically methods used to manipulate DOM elements. Structural directives add and remove elements, and attribute directives otherwise change the elements' behavior. We will start with built in structural directives, and ngIf.
Рекомендации по теме
Комментарии
Автор

in flutter, a null Boolean throws an error. Strange how they both using the same language but have different rules

benton
Автор

The same for *ngIf, it doesn't work. It looks like some packages are missing from my setup.

Machiuka
Автор

Solved the *ngIf problem. It was missing coreDirectives, but for ngModel I didn't find what's missing.

Machiuka