Animated Responsive Sidenav in Angular | Part 1 | Responsive Sidenav

  Рет қаралды 134,434

Angularistic

Angularistic

Жыл бұрын

In this video we'll create an animated responsive side navigation bar from scratch using angular.
_________________________________________________
Project helper:
github.com/Angular-istic/Proj...
_________________________________________________
Commands used
To generate components :
ng g c body --skip-tests true
ng g c sidenav --skip-tests true
ng g c dashboard --skip-tests true
ng g c products --skip-tests true
ng g c statistics --skip-tests true
ng g c coupens --skip-tests true
ng g c pages --skip-tests true
ng g c media --skip-tests true
ng g c settings --skip-tests true
_________________________________________________
If you think there's a better way to improve this code, please let us know in the comments.
If you like this video please subscribe to Angularistic, like and share this video.

Пікірлер: 77
@marcio9161
@marcio9161 8 ай бұрын
This was the most confuse angular tutorial that I've ever seen, but the result was amazing
@bronwynpotgieter7405
@bronwynpotgieter7405 Жыл бұрын
Looks super sleek! Thank you!
@antoniolincolnmsjunior7636
@antoniolincolnmsjunior7636 10 ай бұрын
great layout bro!! thank you
@leonelperez1943
@leonelperez1943 Жыл бұрын
You are a genius! thanks!
@FirstnameLastname-we6kg
@FirstnameLastname-we6kg Жыл бұрын
Something different than using angular material. Thanks👍👍
@jacobokomo6077
@jacobokomo6077 Жыл бұрын
Thanks a lot. A this is what i like the most about this build. No Material, just plain SCSS! Could you explain, I would love it more when you speak and explain a bit.
@edfurtado6637
@edfurtado6637 8 ай бұрын
very good, amazing, my friend, I want to use bootstrap in the project and modal componet, but when installing and using the compoment it doesn't cover all screens, refactoring the code, it's due to the fixed position of the sidenav menu, if you change this attribute it breaks the structure, how do I solve it?
@ferrywijaya6404
@ferrywijaya6404 7 ай бұрын
Hello sir thanks for sharing this tutorial. i got some problem sir, when i resize the form, the navbar cannot automatically display like above video example. the text keep in selected styleClass and only change if i click refresh browser button.
@H4LIL_G
@H4LIL_G Ай бұрын
thats great :)
@mejaay4077
@mejaay4077 Жыл бұрын
Are there any way to convert sidenav bar into header bar when resize the screen?
@edilsonfilho5721
@edilsonfilho5721 7 ай бұрын
When I do click on button "A" to expand, the button reduce own size for a moment, then back to the normal size
@sureshthalluru2012
@sureshthalluru2012 3 ай бұрын
Hey Angularistic team, Can you tell me, which versions of Angularjs, Nodejs, typescript, rxjs is used here in this application. It will be helpful for us. Thanks. Suresh
@techsoft1578
@techsoft1578 9 ай бұрын
For people facing issue with the nav bar not being expanding just set the .sidenav class width to 5rem :) hope it helps
@billchavez4874
@billchavez4874 2 ай бұрын
30 min solving this issue
@nikitakumari5302
@nikitakumari5302 Жыл бұрын
Hey I dont, know why but when I open dashboard sidenav bar disappears.
@lamyabenammar3050
@lamyabenammar3050 Жыл бұрын
thanks a lot! I hope it works for me.
@VinayTiwari-gn3ps
@VinayTiwari-gn3ps Жыл бұрын
Nice content
@benmakhloufaya5037
@benmakhloufaya5037 3 ай бұрын
Can we use this with CSS? Because I use CSS, not SCSS
@user-xb8es7ld9u
@user-xb8es7ld9u 10 ай бұрын
Everything is working good. Except that on click on the component, the icon is barely visible and the size is small as compared to in the video. The styling is same no error but still getting this. Anyone faces this??
@MrBoBrilO
@MrBoBrilO Жыл бұрын
Can you enable routing for these somehow so data on different tabs is loaded dynamically when adding/editing/deleting (from the database)?
@shubhamtehare
@shubhamtehare Жыл бұрын
yes i added crud table for sidenav links which will add edit delete export data by using spring boot backend
@naiomi5532
@naiomi5532 2 ай бұрын
hello i wanna ask it'is possible to update to angular 17 ?
@Alexander-um9vd
@Alexander-um9vd Жыл бұрын
hey bro , great job !! a question , How can I make the navigation bar allow opening links from external pages?
@Alexander-um9vd
@Alexander-um9vd Жыл бұрын
i just got it, thanks
@pkyadav4628
@pkyadav4628 Жыл бұрын
Angular material used or bootstrap
@VinayTiwari-gn3ps
@VinayTiwari-gn3ps Жыл бұрын
Much better
@janickspielmann2695
@janickspielmann2695 8 ай бұрын
Is there no sound, or is it my pc? There does not have to be sound, but just wandering.
@SHEFAT-xq3ge
@SHEFAT-xq3ge 7 ай бұрын
my response in navbar is not working. need source code
@srafa16
@srafa16 6 ай бұрын
The icons don't appear can someone help me?
@heitkrr
@heitkrr Жыл бұрын
is it normal to a component to every button like you did? or its better to create just one and use it for every sidebar button?
@fabiobrizzi1738
@fabiobrizzi1738 Жыл бұрын
better to have component for each
@BethellJack
@BethellJack 8 ай бұрын
why? @@fabiobrizzi1738
@AbdulSamad-rt2bj
@AbdulSamad-rt2bj 2 ай бұрын
how to get other icons name
@salonimalkani2934
@salonimalkani2934 Жыл бұрын
hey can you help me with one thing??plzzz
@ydct1544
@ydct1544 Жыл бұрын
Hello, when clicking on the first button to expand the menu, the body element does not move to the right. ngOnInit(): void { this.screenWidth = window.innerWidth; } I have reviewed all the code and it is the same as yours, it is the only thing I am missing. Can you help me? I'm using Angular 16.0.2. Will it be because of the Angular version?
@salonimalkani2934
@salonimalkani2934 Жыл бұрын
same problem with me...did you got the solution??please let me know
@ydct1544
@ydct1544 Жыл бұрын
@@salonimalkani2934 No, I haven't been able to fix the problem yet. I think it has to do with the variable this.screenWidth which, even though it changes its value, this value doesn't get passed to body.component, as if the interface between components is failing in some way.
@salonimalkani2934
@salonimalkani2934 Жыл бұрын
@@ydct1544 okay no issues thanks fir replying
@kishoret1411
@kishoret1411 Жыл бұрын
Make sure in app.component.html @18.30 the code should be inside the closing tag of .
@eclipsehunter
@eclipsehunter Жыл бұрын
@@kishoret1411 thanks brother
@basmaeladnany6064
@basmaeladnany6064 8 ай бұрын
For the people who click on the sidenav and the body content doesnt go to the right ( the sidenav hides the content) just do like the video and try emptying the browser's cache, for me it worked on private navigation, but didn't work on normal until i cleared it. hope it helps
@aymenwedherfi881
@aymenwedherfi881 3 ай бұрын
i'm having same problem and can't fix it
@nurte4
@nurte4 2 ай бұрын
hi, can u share github repo
@enriquemaestre2950
@enriquemaestre2950 Жыл бұрын
Muchas gracias!! lo logré
@ydct1544
@ydct1544 Жыл бұрын
Felicitaciones, amigo, cuando haces clic en el botón principal empuja a la derecha el contenido principal?, te funciona esa parte?
@luiszelphmorenoruiz1845
@luiszelphmorenoruiz1845 2 ай бұрын
Amigo, que version de Angular estas usando, a mi no me esta funcionando lo del router-outlet en body
@s.m.faizanraza1729
@s.m.faizanraza1729 8 ай бұрын
source code link ?
@juliofrancadasilva5504
@juliofrancadasilva5504 Жыл бұрын
My page doesn't move the element to the left when I click, is there a css problem? I'm using ngOnInit and it's not working
@saradhieb9640
@saradhieb9640 Жыл бұрын
same
@youssefhasbi1
@youssefhasbi1 Жыл бұрын
@@saradhieb9640 same problem if you have solution show me
@saradhieb9640
@saradhieb9640 Жыл бұрын
@@youssefhasbi1 yes you just need to update the width of .sidenav element and reduce it ( try different width until you get the width you want )
@danielgoful
@danielgoful Жыл бұрын
I speak Spanish, but a few weeks ago I went through the same thing, I think my solution was this getBodyClass(): string { let classStyle = ''; if(this.collapsed && this.screenWidth > 768) { styleClass = 'trimmed-body'; } else if(this.collapsed && this.screenWidth 0) { styleClass = 'body-md-screen'; } return style class; }
@ydct1544
@ydct1544 Жыл бұрын
@@danielgoful Hola, pero no entiendo cual fue tu solución, me ayudas?
@virokalu
@virokalu 7 ай бұрын
Guys, Use Angular version 16 or lower to work with this tutorial smoothly.
@jhairdanielosoriogarzon9830
@jhairdanielosoriogarzon9830 Жыл бұрын
Hi need Help
@david_mosquera6207
@david_mosquera6207 10 ай бұрын
Someone got the error with OnInit, the dashboard does not run for me when the sidenav is opened
@itsmhasnatawan
@itsmhasnatawan 10 ай бұрын
Same happened with me
@bavrzar8576
@bavrzar8576 11 ай бұрын
What theme for vscode is used in the video?
@angularistic
@angularistic 11 ай бұрын
Night Owl
@bavrzar8576
@bavrzar8576 11 ай бұрын
Thanks! 🥰@@angularistic
@babatundeadenowo7568
@babatundeadenowo7568 Жыл бұрын
Almost broke my headphones out of frustration. bs.
@jhonquistiano4531
@jhonquistiano4531 Жыл бұрын
che culey no lo pasas
@LarsRyeJeppesen
@LarsRyeJeppesen Жыл бұрын
In body component: getBodyClass() is being call ayyyyyyyyyyy lot of times, it will really be nasty for performance.
@ferrywijaya6404
@ferrywijaya6404 7 ай бұрын
have any option for that sir?
Adding Multi Level Menu to Sidenav | Part 2 | Responsive Sidenav
37:30
Create Reusable Chip Input Component in Angular
30:11
Angularistic
Рет қаралды 3,5 М.
Looks realistic #tiktok
00:22
Анастасия Тарасова
Рет қаралды 96 МЛН
WHO LAUGHS LAST LAUGHS BEST 😎 #comedy
00:18
HaHaWhat
Рет қаралды 18 МЛН
БОЛЬШОЙ ПЕТУШОК #shorts
00:21
Паша Осадчий
Рет қаралды 9 МЛН
Modern Graphical User Interfaces in Python
11:12
NeuralNine
Рет қаралды 1,5 МЛН
How to Create a Responsive Navbar using Bootstrap 5  | Responsive Sidebar Menu
22:18
Mathe. | Creative Coding Camp
Рет қаралды 75 М.
Adding Responsive Toolbar | Part 3 | Responsive Sidenav
51:14
Angularistic
Рет қаралды 21 М.
Angular Material Navbar/Toolbar | Angular Routing
16:47
Technophile ProgBox
Рет қаралды 149 М.
Dependency Injection, The Best Pattern
13:16
CodeAesthetic
Рет қаралды 762 М.
Angular 18 is EXACTLY what we needed
9:15
Academind
Рет қаралды 63 М.
НЕ ПОКУПАЙ СМАРТФОН, ПОКА НЕ УЗНАЕШЬ ЭТО! Не ошибись с выбором…
15:23
تجربة أغرب توصيلة شحن ضد القطع تماما
0:56
صدام العزي
Рет қаралды 28 МЛН
iPhone 15 Pro в реальной жизни
24:07
HUDAKOV
Рет қаралды 179 М.