Angular Animations: Learn the basics

  Рет қаралды 4,282

Brian Treese

Brian Treese

Күн бұрын

Пікірлер: 10
@ytamb01
@ytamb01 Ай бұрын
Thanks. That was a clear explanation of the basics that I needed to hear. I've been turned off angular animations in the past because the animations array has always been incomprehensible.
@MohamedAyman-lf1sz
@MohamedAyman-lf1sz 3 ай бұрын
That is very useful, thank you. Keep it up please. 👏🏼👏🏼
@briantreese
@briantreese 3 ай бұрын
Thanks, will do!
@drzewko3871
@drzewko3871 3 ай бұрын
What a hidden gem! Amazing content man, keep pushing. Also, I have a question: when setting this whole animation, is the sidebar disappearing from the DOM when it is closed? Or does it just sit out of the user view? I am asking because idk if I should switch to the angular animations from using tailwind classes to achieve similar thing. What do you think?
@briantreese
@briantreese 3 ай бұрын
Thanks! For this particular example, it just sits out of view. But, it is possible with Angular animations to animate items that enter and leave the DOM. You can see this here: kzbin.info/www/bejne/qnW7nJZ_ibB3ers. You certainly don't need to switch away from tailwind classes, if it's working for you as is, I'd probably just leave it. It's just good to understand how animations work in Angular for when you encounter a situation where plain CSS won't work.
@freddiebanfield4634
@freddiebanfield4634 6 ай бұрын
Very good video!
@guicercal
@guicercal 4 ай бұрын
what are the advantages of using this instead of css classes to manage the animations?
@briantreese
@briantreese 4 ай бұрын
If you can use CSS animations there's absolutely nothing wrong with using them but sometimes you can't like when items are being added or removed from the DOM for example. Sometimes you'll want to stagger several items in as they enter. Sometimes you may need to do something else programmatically when an animation starts or ends. There are many different scenarios. The animation module in Angular is not a replacement for standard CSS animations it's just another option that you can leverage, when needed, depending on what your particular need is for any given situation. You won't always need to use it but the more you know about it, the more tools you'll have to solve future challenges. I hope that helps!
@veronikas.1347
@veronikas.1347 6 ай бұрын
Thanks a lot, it was really useful!
@briantreese
@briantreese 6 ай бұрын
Glad it was helpful!
Angular Animations: Keyframe animations
8:45
Brian Treese
Рет қаралды 1,7 М.
Angular Animations: Querying and staggering items
10:11
Brian Treese
Рет қаралды 1,3 М.
Когда отец одевает ребёнка @JaySharon
00:16
История одного вокалиста
Рет қаралды 15 МЛН
Smart Sigma Kid #funny #sigma
00:14
CRAZY GREAPA
Рет қаралды 48 МЛН
Wait for the last one 🤣🤣 #shorts #minecraft
00:28
Cosmo Guy
Рет қаралды 9 МЛН
A visual guide to switchMap and "higher order" observables
7:46
Joshua Morony
Рет қаралды 8 М.
Angular Animations: Start and done events
10:38
Brian Treese
Рет қаралды 1,3 М.
Angular Animations
43:14
Código Tipado
Рет қаралды 216
Why I decided to switch to the inject() function in Angular
6:10
Joshua Morony
Рет қаралды 59 М.
🚨 Angular 18 Is Out: Zoneless Upgrade (Step-By-Step)
14:36
Angular University
Рет қаралды 15 М.
Advanced Angular Concepts - Alex Rickabaugh - AngularConnect 2017
42:28
Learn Angular Animations with 5 Examples
7:02
Fireship
Рет қаралды 108 М.
5 Angular Animations Examples - Learn BrowserAnimationsModule in Angular
17:55
Monsterlessons Academy
Рет қаралды 35 М.
TOP 6 Mistakes in RxJS code
18:35
Decoded Frontend
Рет қаралды 21 М.
Error Handling with Observables
10:19
Deborah Kurata
Рет қаралды 7 М.
Когда отец одевает ребёнка @JaySharon
00:16
История одного вокалиста
Рет қаралды 15 МЛН