npm ngx-toastr 4.4.0

latest releases: 18.0.0, 17.0.2, 17.0.1...
7 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.