1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

toastr container

This commit is contained in:
Kyle Spearrin
2018-06-05 15:46:26 -04:00
parent 9e3f3e324c
commit db5a5e1b37
2 changed files with 10 additions and 1 deletions

View File

@@ -13,9 +13,18 @@ import { Router } from '@angular/router';
selector: 'app-root',
styles: [],
template: `
<toaster-container [toasterconfig]="toasterConfig"></toaster-container>
<router-outlet></router-outlet>`,
})
export class AppComponent {
toasterConfig: ToasterConfig = new ToasterConfig({
showCloseButton: true,
mouseoverTimerStop: true,
animation: 'flyRight',
limit: 5,
});
constructor() {
//
}
}