Toast Notification in Angular 13 | ng-angular-popup | Agular NPM Library | Angular Toast Tutorial |

Поділитися
Вставка
  • Опубліковано 7 вер 2024
  • Hi, in this Video I’m going showcase my own created NPM library which is ng-angular-popup. This library will help you to create a toast notification in your Angular 13 Projects.
    You can use a toast notification in angular by following all the steps shown in the video. Toaster notification provide us the feasibility to display message required as per some desired logic in our angular app.
    This a early build created by me, in upcoming months will be pushing more changes and customization. Stay Tuned!!
    Npm Link : www.npmjs.com/...
    Font-Awesome 4.7.0: www.w3schools....
    Angular CRUD using Bootstrap : • Angular 11 CRUD with j...
    Angular QUIZ App : • Angular 12 Quiz Applic...
    Angular Add to cart : • Add to Cart in Angular...
    Angular CRUD using .Net Core : • Angular 12 CRUD using ...
    Telegram Link: LET'S PROGRAM
    t.me/letsprogr...

КОМЕНТАРІ • 99

  • @letsprogram30
    @letsprogram30  Рік тому

    The package has been update with new features and updated the selector, follow the below link for the new changes
    letsprogram.in/blog/647990c15960050b58aca375

  • @SantiagoRamirez-hw9ug
    @SantiagoRamirez-hw9ug Рік тому

    Thanks for video, in this moment i have an issue. The duration doesn´t work, the alert is visible always

  • @littishabala5764
    @littishabala5764 Рік тому +1

    how to customize the color of notification bar and the size .etc?

  • @keldhougaard6923
    @keldhougaard6923 Рік тому +3

    Thank you for all your hard work on these great tutorials!
    I've been using your toast messages for a project, but have noticed that one the success messages doesn't completely dissapear. There is a little green bar noticable on right side of the screen. Anything you have experienced?
    Best regards
    Keld

    • @letsprogram30
      @letsprogram30  Рік тому

      Connect with me on telegram will check together 🙂

  • @slingshottherapper5937
    @slingshottherapper5937 Рік тому

    Awesome bro simple and easy to use. 🤘

  • @thiagoluiz4870
    @thiagoluiz4870 2 роки тому +1

    I had this problem trying to use your lib:
    Namespace '"/path/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'.
    11 static ɵfac: i0.ɵɵFactoryDeclaration;
    any idea how to fix it?

  • @aouctinh2647
    @aouctinh2647 2 роки тому

    thank you for the series angular, that so helpful.

    • @letsprogram30
      @letsprogram30  2 роки тому

      You're welcome 🙂

    • @navin4140
      @navin4140 2 роки тому

      hi i want your angular document ,there is no links available to download in your decription

  • @w3raja740
    @w3raja740 2 роки тому

    Thanks a lot for this code.
    Working superb

  • @malleshdiyyala5415
    @malleshdiyyala5415 2 роки тому +1

    Bro, how to prevent background actions in case of toast alert displaying.

  • @gayathrigovindappagari9553
    @gayathrigovindappagari9553 5 місяців тому

    Am getting an error in the 4th step. Its saying that lib-ng-toast is not a known element. Can you please help me with this. I have done the previous three steps correctly, but still getting an error.

    • @letsprogram30
      @letsprogram30  5 місяців тому

      The library is changed now. Take a look at this blog : letsprogram.in/blog/how-to-use-toast-messages-in-angular-project

  • @MSanchez1197
    @MSanchez1197 Рік тому

    Amazing library, I'm using this for a crud app, thanks you for a excelent job!
    I want modify the "height" of the pop-up to show large message, is posible? I seen the class is .toast-right-top but I can't modify the height :(

  • @AryaCS-qh5vh
    @AryaCS-qh5vh Рік тому

    Hi. I follow all your videos. I have a doubt. In my app, I created a full screen button where only a particular component appears in full screen, by using getdocumentsbyId. But the toaster messages are not appearing in the full screen mode. Y is it so. How to resolve it..
    Please do reply...

  • @yashchandel5893
    @yashchandel5893 2 роки тому

    Can you help me, how to implement read more or read less in list through pipes with the help of code

  • @linnnaingoo4816
    @linnnaingoo4816 2 роки тому

    Thanks you, it is really useful.

  • @alexandrasimbolon3002
    @alexandrasimbolon3002 2 роки тому

    wow thankyou tutorial sir

  • @ahmedaldesoky7320
    @ahmedaldesoky7320 2 роки тому

    it's very useful
    thank u pro

  • @RaviKumar-ej8os
    @RaviKumar-ej8os Рік тому

    Explanation to good

  • @mine_girl9481
    @mine_girl9481 2 роки тому

    Awesome tutorial 👏

  • @user-kw3kx2lq6k
    @user-kw3kx2lq6k Рік тому

    How to change style of popup? size, bg color?

  • @gabrielwerlich9738
    @gabrielwerlich9738 2 роки тому

    My toastr notifies correct the message for 5s but it doesnt show in the green box, anyones know why ?

  • @archanam4224
    @archanam4224 2 роки тому

    thanks a lot its very helpful

  • @JkCreations.
    @JkCreations. 2 роки тому

    Bro please make a video on login page ...I have project submission on login web page using angular13 material

  • @hovannimusic1876
    @hovannimusic1876 Рік тому

    hi dear,
    Thanks for your job !!!
    I have question:
    Are you planning to do custom style?
    And I have little trouble:
    Why don't I have a close button?

    • @letsprogram30
      @letsprogram30  Рік тому

      It has a close button

    • @hovannimusic1876
      @hovannimusic1876 Рік тому

      ​@@letsprogram30 I do not have it displayed, so I asked you :).
      At the same time if you look at dev tools in browser there is such a block, commented.
      Can you tell me why it's like this?

  • @khalidSp82
    @khalidSp82 2 роки тому

    Good job bro!

  • @amarendarchinthala548
    @amarendarchinthala548 Рік тому

    I got error on size wouldn't increase

  • @it_056_sahilkumar6
    @it_056_sahilkumar6 2 роки тому

    in my case ..... is giving error.....
    please help me....

    • @letsprogram30
      @letsprogram30  2 роки тому

      Please import the ngToastModule in the app module

  • @ozzie042815
    @ozzie042815 Рік тому

    Thank you, do you have a version for Angular 12?

    • @letsprogram30
      @letsprogram30  Рік тому

      You can use it just use -force while installing

  • @yogeshkadu5453
    @yogeshkadu5453 2 роки тому

    bro how to change toast position like bottom right instead of top ?

    • @letsprogram30
      @letsprogram30  2 роки тому

      position: 'br'

    • @letsprogram30
      @letsprogram30  2 роки тому

      Use this position in the object where we are adding details, summary and duration

  • @sauravjyotihpradhan5881
    @sauravjyotihpradhan5881 Рік тому

    My laptop not working npm i ng-angular-popup

  • @sanamshrestha1692
    @sanamshrestha1692 2 роки тому

    in my case error msg is working after loggin inbut success is not working. Why so??

    • @letsprogram30
      @letsprogram30  2 роки тому

      Connect with me on telegram will help you there 🙂

    • @sanamshrestha1692
      @sanamshrestha1692 2 роки тому

      @@letsprogram30 sure. Thanks for help

  • @KVRao-rr2lk
    @KVRao-rr2lk 2 роки тому

    Super bro

    • @letsprogram30
      @letsprogram30  2 роки тому +1

      Added new features of position and sticky also in new update

    • @KVRao-rr2lk
      @KVRao-rr2lk 2 роки тому

      @@letsprogram30 bro please update about this features in npm website also

    • @KVRao-rr2lk
      @KVRao-rr2lk 2 роки тому

      @@letsprogram30 what are the names of position ?.!.?

    • @letsprogram30
      @letsprogram30  2 роки тому

      @@KVRao-rr2lk position : 'tr'
      Position: 'tl'
      Position: 'bl'
      Postion: 'br'

  • @michaelennis2623
    @michaelennis2623 2 роки тому

    Nice Library....how do I position where I want or resize the fonts?

    • @letsprogram30
      @letsprogram30  2 роки тому

      This will be part of v0.0.8 will release by end of this month

    • @letsprogram30
      @letsprogram30  2 роки тому

      I have updated the library, you can check the medium post

  • @bladfe6267
    @bladfe6267 4 місяці тому

    Does it work for angular 17?

    • @letsprogram30
      @letsprogram30  3 місяці тому

      It should! if you face any issue contact me via instagram

  • @maheshkoppineedi1128
    @maheshkoppineedi1128 2 роки тому

    Is it possible to toast message position in center

  • @ghaithbouslimi9574
    @ghaithbouslimi9574 2 роки тому

    not work with the last version angular 14 .

    • @letsprogram30
      @letsprogram30  2 роки тому +1

      Update is on the way

    • @letsprogram30
      @letsprogram30  2 роки тому

      I have checked in my angular 14 app and it works like a charm

  • @imammasum3918
    @imammasum3918 Рік тому

    what about your github link

  • @thotanagaraju7871
    @thotanagaraju7871 2 роки тому

    Hi
    in above NPM Like getting 404 not found

    • @letsprogram30
      @letsprogram30  2 роки тому

      Try npm install ng-angular-popup --force

  • @MTSightseeing
    @MTSightseeing 3 місяці тому

    Is this your npm package?

    • @letsprogram30
      @letsprogram30  3 місяці тому +1

      Yes, but yesterday I pushed a big change to it. This does work as shown in the video.
      Follow the blog to make it work: letsprogram.in/blog/angular-application-with-dynamic-toast-notifications-using-ng-angular-popup

  • @adrianrubak5439
    @adrianrubak5439 Рік тому

    if u are gettting this error:
    build errors static ɵcmp: i0.ɵɵComponentDeclaration;
    try to change your version of library
    i'm using angular 13.2
    and i set it to:
    "ng-angular-popup": "0.1.0"

  • @xwqoHVH
    @xwqoHVH Рік тому

    NG8001: 'lib-ng-toast' is not a known element:

    • @letsprogram30
      @letsprogram30  Рік тому +1

      The package has been updated
      letsprogram.in/blog/647990c15960050b58aca375

  • @AcilFarhat
    @AcilFarhat Рік тому

    @Let's Program
    i have this probleme :Error: node_modules/ng-angular-popup/lib/ng-toast.component.d.ts:14:18 - error TS2314: Generic type 'ɵɵComponentDeclaration' requires 7 type argument(s).
    14 static ɵcmp: i0.ɵɵComponentDeclaration;
    any help

  • @VIjayKumartheh2o
    @VIjayKumartheh2o 2 роки тому

    Is detail property optional or mandatory??

  • @arnabbasu4514
    @arnabbasu4514 Рік тому

    getting the below error while installing. can u please help ?
    code ERESOLVE
    npm ERR! ERESOLVE unable to resolve dependency tree
    npm ERR!
    npm ERR! Found: @angular/common@15.2.9
    npm ERR! node_modules/@angular/common
    npm ERR! @angular/common@"^15.0.0" from the root project
    npm ERR!
    npm ERR! Could not resolve dependency:
    npm ERR! peer @angular/common@"^16.0.0" from ng-angular-popup@0.3.1
    npm ERR! node_modules/ng-angular-popup
    npm ERR! ng-angular-popup@"*" from the root project
    npm ERR!
    npm ERR! Fix the upstream dependency conflict, or retry
    npm ERR! this command with --force, or --legacy-peer-deps
    npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

    • @letsprogram30
      @letsprogram30  Рік тому

      Just try with npm install -f
      I will be pushing an upgrade to fix this issue soon.
      Also you can read my blog about the same: letsprogram.in/blog/647990c15960050b58aca375

    • @arnabbasu4514
      @arnabbasu4514 Рік тому

      @@letsprogram30 With the new command it's getting installed but while running the application, this error is coming-
      Error: Module not found: Error: Package path ./public-api is not exported from package D:\Angular
      ode_modules
      g-angular-popup (see exports field in D:\Angular
      ode_modules
      g-angular-popup\package.json)

    • @letsprogram30
      @letsprogram30  Рік тому

      @@arnabbasu4514 what is the version installed on package.json?

    • @arnabbasu4514
      @arnabbasu4514 Рік тому

      @@letsprogram30 "ng-angular-popup": "^0.3.1"

  • @ViralB0t
    @ViralB0t 3 місяці тому

    Auto closed not working how I fixed

    • @letsprogram30
      @letsprogram30  3 місяці тому

      DM me on insta let's fix it together

  • @AryhanCoyco
    @AryhanCoyco Рік тому

    I am getting build errors static ɵcmp: i0.ɵɵComponentDeclaration;

    • @letsprogram30
      @letsprogram30  Рік тому

      Try npm i ng-angular-popup -force

    • @AryhanCoyco
      @AryhanCoyco Рік тому

      @@letsprogram30 Hi thanks for the response, same error :(

    • @AryhanCoyco
      @AryhanCoyco Рік тому

      this.toast.error({
      detail: 'Success',
      summary: 'Link copied to your clipboard',
      duration: 4000, position: 'tr', sticky: true
      });

    • @AryhanCoyco
      @AryhanCoyco Рік тому

      This is how i implement it

    • @AryhanCoyco
      @AryhanCoyco Рік тому

      @@letsprogram30 Generic type 'ɵɵComponentDeclaration' requires 7 type argument(s).ts(2314)

  • @wiemmejri4991
    @wiemmejri4991 2 роки тому

    does it work for angular 12?