github scttcper/ngx-toastr 4.4.0

latest releases: v14.2.2, v14.2.1, v14.2.0...
5 years ago

Fixed bugs for component inheritance. If you were extending toast you should update the constructor. The values are now protected instead of private which allows for easier inheritance without Angular AoT. The constructor is only necessary when not using AoT.

constructor(
    protected toastrService: ToastrService,
    public data: ToastData,
    protected toastRef: ToastRef<any>,
    protected appRef: ApplicationRef,
    protected sanitizer: DomSanitizer
  ) {
    super(toastrService, data, toastRef, appRef, sanitizer);
  }

Don't miss a new ngx-toastr release

NewReleases is sending notifications on new releases.