Angular 17 deferred loading On Viewport | Angular Feature defer loading
Автор: Code Sample
Загружено: 2024-02-11
Просмотров: 551
Описание:
Angular 17 Feature deferred loading | Angular 17 Defer block: Create Lazy Loaded components with `when` trigger! Learn how to create a lazy-loaded component in Angular 17 using the new defer block with the `when` trigger. It's really powerful!
Angular 17 Feature: deferred loading: Using @defer in Angular 17 to implement lazy loading.
Angular 17 introduced a new @defer block that lets your lazy-load content based on specific conditions or events and deferred blocks support the following declarative trigger types:
1. on interaction - @defer (on interaction)
2. on hover - @defer (on hover)
3. on idle - @defer (on idle)
4. on timer - @defer (on timer(4s))
5. on viewport - @defer (on viewport)
Angular renders the on-interaction block when the user interacts with its @placeholder block. An interaction can be a click, touch focus, or input event, like keypress.
@defer (on interaction) {
Content block: Clicked on the interaction
}
@placeholder {
Content block: Placeholder – on interaction(click on it)
}
@error {
Content block: Error
}
@loading(minimum 2s) {
Loading...
}
Angular 17 Tutorial:-
*********************
Install Angular 17 with Standalone (true):- • Install Angular 17 CLI on Windows | Upgrad...
Angular 17 Routing For Beginners:- • Angular 17 Routing For Beginners | Routing...
Angular 17 Signals:- • Angular 17 Signals Example | Angular 17 N...
What Is Server-Side Rendering (SSR) and Why use?:- • Angular 17 Tutorial - Server-Side Renderin...
Angular 17 Component Inheritance:- • Angular 17 Tutorial | Angular 17 Component...
using ViewContainerRef To Render Dynamic Components:- • Angular 17 Tutorial | using ViewContainerR...
Component Lifecycle Hooks:- • Angular 17 Tutorial | Component Lifecycle ...
Prerendering Static Site Generation (SSG):- • Angular 17 Tutorial | Prerendering Static...
Angular 17 for loop @for block Repeaters :- ttps:// • Angular 17 for loop example | @for block -...
Angular 17 if else statement example:- • Angular 17 if else statement example | @if...
What's New in Angular 17?:- • What's New in Angular 17 | The Best New Fe...
#angular17 #Angular17defer #loading #AngularLazyloading #AngularDeferrableView #AngularInteraction #AngularHover #AngularIdle #AngularTimer #AngularViewport
Повторяем попытку...

Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: