Questions tagged [angular-toastr]

Angular-toastr is an open-source Angular port of CodeSeven's toastr library.

Angular-toastr is an open-source Angular port of CodeSeven's toastr library.

58 questions
0
votes
1 answer

angularJs - Can not see toastr error displayed

I spent several hours on this problem and I can not figure this out :( I know that I tested that functionality about a week or so ago and I saw 2 toastr error messages displayed (I didn't want two of them, though). I am not sure what exactly changed…
Naomi
  • 718
  • 1
  • 9
  • 28
0
votes
0 answers

Is toastr confirm works with Angularjs

Dear experts: I am using toastr.success and toastr.warning and they are working fine. BUT it is not working with toastr.confirm. I have added the jquery,angularjs and toastr libraries . Any idea or help Thanks in advance. …
hassanzi
  • 191
  • 17
0
votes
1 answer

Stale element reference: element is not attached to the page - Protractor

Getting a Failed: stale element reference: element is not attached to the page document error when I run my protractor test to check the text in a toast pop up message. I have tried element.all but so no avail: My expect statement is it('Delete…
0
votes
1 answer

How to initialize component from service for toast messages

i want to do global toasts service in my application with own styles and html for toasts. I'm using ng2-toastr. For example i have component A. In view i have button: in controller i have showSuccess…
Eugeniusz Zuev
  • 149
  • 4
  • 15
0
votes
2 answers

Cannot load ng2-toastr

I am using systemjs.config, angular 4 and ng2-toastr version 4.0.1 I got an error when running the app "Cannot read property 'forRoot' of undefined" It seems does not load the ToastModule or any class from ng2-bootstrap This is the…
0
votes
1 answer

angular-toastr vs toastr? whats the benefit of the "angular" one?

This may sound like a stupid question, but whats the difference? they look identical to me. https://github.com/CodeSeven/toastr https://github.com/Foxandxss/angular-toastr With angular-toastr you can inject it as a dependency (the angular…
monstro
  • 6,254
  • 10
  • 65
  • 111
0
votes
1 answer

Angular 2 : Loading nested Component is destroying the existing scope of ng2-toastr

I'm using a ng2-toastr in my page and working fine, but when I have a nested component in the page the existing ng2-toastr(ToastManager) scope is destroyed and toastr is not working. constructor(public toastr: ToastsManager,public vcr:…
sudhir
  • 1,387
  • 3
  • 25
  • 43
0
votes
1 answer

Angular 2 - Toastr Custom Location

I'm using toastr-ng2 and I want the location of the toast to be under the header of my webpage (e.g. style="margin-top: 30px"). I can't seem to find the settings for this option. Is this possible?
ToDo
  • 754
  • 2
  • 17
  • 31
0
votes
1 answer

HttpRequestInterceptor display multiples times the same error

I added a HttpRequestInterceptor insie my AngularJS app to display a toastr every time a request fails. angular.module('spwApp.factories') .factory('httpRequestInterceptor', ['$q', '$injector', '$cookies', '$rootScope', function($q, $injector,…
Weedoze
  • 13,683
  • 1
  • 33
  • 63
0
votes
2 answers

Html message with
not working in a simple angular material Toaster

I need to use Angular Material toaster in every page of my project and the message may contain html tags. But the html message is not working with Angular Material toaster. $mdToast.show( $mdToast.simple() .textContent('Field is required…
Haseena P A
  • 16,858
  • 4
  • 18
  • 35
-1
votes
1 answer

How to expand toastr thing in Angular 2?

I have a ToastrService imported from 'ngx-toastr' in my Angular 2 app. The problem is that the text which I show there does not fit in, and it gets cut. Can I expand it somewhere? Eg, I can set up some params in toastrConfig: const toastrConfig:…
Sofia Bo
  • 679
  • 1
  • 10
  • 20
-1
votes
1 answer

Angular 5 Error loading http://xxxxxx/ngx-toastr as "ngx-toastr" from http://xxxxx/app/app.module.js

I have tried tried to import ngxtoastr in my app.module.ts import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { FormsModule } from '@angular/forms'; import { RouterModule, Routes } from…
-2
votes
1 answer

Display notifications messages in angular8?

As I am new to angular can some one "How to display notifications messages in angular8"? I had searched on google but it shows wide variety of implementations and all seem quite length to just display a message. So can some one give a example or…
Sanyam Madaan
  • 139
  • 4
  • 14
1 2 3
4