toaster notification in angular 14 | implement toast alert using ngx-toastr library
HTML-код
- Опубликовано: 16 окт 2022
- #angular14 #ngxtoastr #angularalert
This video provides the complete documentation of ngx-toastr library & steps for implementing toaster notifications in angular 14
Steps
======
1, Install the below package
npm install ngx-toastr
2, Add the below css file to our app
"node_modules/ngx-toastr/toastr.css"
3, Import to the module
ToastrModule.forRoot()
npm link for ngx-toastr library
--------------------------------------------------
www.npmjs.com/package/ngx-toastr
Join this channel to get access to perks:
/ @nihiratechiees
Source Code GitHub Link
----------------------------------------
github.com/nihira2020/Datatra... Наука
Thanks Sir May u live long
👍
nice one. i did it in angular 15 with standalone component and work perfectly
Great👍
Thanks
Welcome
gracias
👍
Good video tutorial easy to understand. Please make a tutorial on mannual popup menu without popper and jQuery.
Manual popup means bootstrap popup?
@@NihiraTechiees yes bootstrap popup navbar but without popper and jQuery
Then I will make separate video in bootstrap... Will include my list
Can I use toastr in NX applications, in which the most of the modules are lazy-loaded? I always see these simple exemples...
NX applications?
Hi Nihira,
You doing good. And I Have a one doubts about toaster, How can I change the default position of toaster to custom position Like ,I want to set my own margin(Top,Right) Values.
Yes, already covered in this video
@@NihiraTechiees Yes Bro correct, But in this video you mention toast-top-right. In my problem is when ever the toast is showing it will hidden my header navbar. So I need to move a toast little bit down. That's why i am asking ,how to change the position in custom format like top = 50px and right = 15px.( But must the toast is in right top corner ).
Then we need to write custom css
En mi caso, para angular cli 14 instale la versión 15 de toastr porque la 16 me dio problemas
What is your angular cli version?
confirm
Gracias amigo! Igual a mi me dio problemas y llegué aquí buscando una solución y con tu comentario se arregló ( :
Hi sir, I am also using the angular 14, facing some error while running the application in node modules.
What error you are facing? Please share mail with details
Hi Sir Please help me . filter on mat-select using mat input keyup angular
Ok. Will upload soon
@@NihiraTechiees Thank you sir please upload fastly❤️
Hi sir, can we add a hyperlink in toastr popup....if yes how?
I am not sure, will check and let you know
I want to change the background color of warning toaster to white how to achieve...?
By adding css we can override the default design
@@NihiraTechiees try to make a shorts of this issue I tried but not worked in toastClass parameter