Angular Loading Indicators Simplified | Step by Step Guide 2025

  Рет қаралды 1,038

Zoaib Khan

Zoaib Khan

Күн бұрын

Пікірлер: 14
@urtaav639
@urtaav639 4 күн бұрын
The best video, very good explained!
@ZoaibKhan
@ZoaibKhan 4 күн бұрын
Glad you liked it :)
@aram5642
@aram5642 2 күн бұрын
you might want to experiment with tapResponse and the `finalize` in its callback to switch `loading` off
@ZoaibKhan
@ZoaibKhan 2 күн бұрын
Yup, I use tapResponse and finalize whenever I call an API using rxMethod. Here I just used promise based function, so used the finally block...
@aram5642
@aram5642 2 күн бұрын
@@ZoaibKhan Cool! 🤟
@ivanpavlovich4891
@ivanpavlovich4891 3 күн бұрын
Thanks for the video! I want to ask you how to show loader in angular ssr with observables(when data loading via async pipe on server side)?
@ZoaibKhan
@ZoaibKhan 2 күн бұрын
I don't have much experience with the new SSR in Angular, so can't say much. But I think what you're looking for might be the defer block with the new hydration option. It has a built in loading placeholder where we can specify this...
@ivanpavlovich4891
@ivanpavlovich4891 15 сағат бұрын
@@ZoaibKhan I also have an issue with the loading-container in which I'm projecting a mat-button with a mat-icon and text. The styles from the button are broken because, as I believe, the styles from mdc-button-label aren't working properly. The label has display: flex, so if we don't use a container, the icon and text are aligned next to each other. However, when they are inside a loading-container , the flex property on the mdc-button-label doesn't work as expected, and the icon ends up above or below the text.
@haroldpepete
@haroldpepete 2 күн бұрын
great video but i think make a component to encapsulate other component is not necessary, you can use if statement and display loader component or display the info
@ZoaibKhan
@ZoaibKhan 2 күн бұрын
yeah, it's not necessary. Just a nice to have for when you'll be doing the same thing repeatedly in different places of the app.
@ArqamRafay-i2x
@ArqamRafay-i2x 3 күн бұрын
Github code please ?
@ZoaibKhan
@ZoaibKhan 3 күн бұрын
It's part of the dashboard - which is only available as paid template unfortunately.
@ArqamRafay-i2x
@ArqamRafay-i2x 3 күн бұрын
@@ZoaibKhan ok can you share me the template link
@ZoaibKhan
@ZoaibKhan 3 күн бұрын
In the description :)
New Angular Material Docs make styling components a LOT easier!
15:52
This Folder Structure Makes Me 100% More Productive
24:36
Web Dev Simplified
Рет қаралды 117 М.
The Lost World: Living Room Edition
0:46
Daniel LaBelle
Рет қаралды 27 МЛН
Маусымашар-2023 / Гала-концерт / АТУ қоштасу
1:27:35
Jaidarman OFFICIAL / JCI
Рет қаралды 390 М.
Angular Unit Testing | TOP 5 Mistakes to Avoid
23:36
Decoded Frontend
Рет қаралды 9 М.
💀 R.I.P. YouTube Tutorials: Gemini 2.0 AI is the NEW Teacher
10:00
Teacher's Tech
Рет қаралды 88 М.
Angular 19 - Material theme toggle - Dark / Light mode
19:57
Regular SWE
Рет қаралды 766
7 Design Patterns EVERY Developer Should Know
23:09
ForrestKnight
Рет қаралды 207 М.
FASTER JavaScript In 2025 With Sets
13:13
Jack Herrington
Рет қаралды 23 М.
How to Detect & Match System Theme in Angular Material 19
11:52
It FINALLY happened
2:45
Matt Pocock
Рет қаралды 34 М.
Angular 17 Features With Examples - You Must Know That
14:44
Monsterlessons Academy
Рет қаралды 40 М.
Angular 19 Resource API is exactly what we needed!
15:38
Zoaib Khan
Рет қаралды 3,7 М.