Navigation Menu

Skip to content

Commit

Permalink
feat: allow newestOnTop to be set for each toast and globally closes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
scttcper committed May 28, 2020
1 parent 9dfdf26 commit 162b64f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/lib/toastr/toastr-config.ts
Expand Up @@ -93,6 +93,11 @@ export interface IndividualConfig {
* default: false
*/
onActivateTick: boolean;
/**
* New toast placement
* default: true
*/
newestOnTop: boolean;
}

export interface ToastrIconClasses {
Expand All @@ -119,11 +124,6 @@ export interface GlobalConfig extends IndividualConfig {
*/
autoDismiss: boolean;
iconClasses: Partial<ToastrIconClasses>;
/**
* New toast placement
* default: true
*/
newestOnTop: boolean;
/**
* block duplicate messages
* default: false
Expand Down

1 comment on commit 162b64f

@michahell
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is awesome 🎉 thanks!

Please sign in to comment.