mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
toastr container
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: 476d21e9f0...c5fbea2341
@@ -13,9 +13,18 @@ import { Router } from '@angular/router';
|
|||||||
selector: 'app-root',
|
selector: 'app-root',
|
||||||
styles: [],
|
styles: [],
|
||||||
template: `
|
template: `
|
||||||
|
<toaster-container [toasterconfig]="toasterConfig"></toaster-container>
|
||||||
<router-outlet></router-outlet>`,
|
<router-outlet></router-outlet>`,
|
||||||
})
|
})
|
||||||
export class AppComponent {
|
export class AppComponent {
|
||||||
|
toasterConfig: ToasterConfig = new ToasterConfig({
|
||||||
|
showCloseButton: true,
|
||||||
|
mouseoverTimerStop: true,
|
||||||
|
animation: 'flyRight',
|
||||||
|
limit: 5,
|
||||||
|
});
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
|
//
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user