Angular 8 вопросы и ответы для интервью
Question: Explain the use of *ngFor and *ngIf directives.Answer: *ngFor is a structural directive in Angular used for iterating over a list of items and creating a template for each item. *ngIf is a structural directive that conditionally includes or excludes elements based on an expression.Example:
|
Сохранить для повторения
Добавьте этот элемент в закладки, отметьте как сложный или поместите в набор для повторения.
Войдите, чтобы сохранять закладки, сложные вопросы и наборы для повторения.
Это полезно? Да Нет
Самое полезное по оценкам пользователей: