Загрузка...

Coming in Angular 21.2: instanceof Now Works in Templates! #angular #angular21

Angular 21.2 adds support for the instanceof binary operator directly in component templates. You can now use instanceof in template expressions, including interpolations, ternary expressions, and control flow blocks.

⚠️ Note: Angular 21.2 is still in development and is expected to be released in the second half of February.

Thanks to the @Angular Team for the valuable work.

ℹ️ Source: https://github.com/angular/angular/pull/66431

Angular is a registered trademark of Google and/or its affiliates. Other names may be trademarks of their respective owners/holders. Use of them does not imply any affiliation with or endorsement by them.

Видео Coming in Angular 21.2: instanceof Now Works in Templates! #angular #angular21 канала Igor Sedov
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять