mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
31 lines
682 B
TypeScript
31 lines
682 B
TypeScript
import {
|
|
ToasterConfig,
|
|
ToasterContainerComponent,
|
|
} from 'angular2-toaster';
|
|
import { Angulartics2GoogleAnalytics } from 'angulartics2/ga';
|
|
|
|
import {
|
|
Component,
|
|
} from '@angular/core';
|
|
import { Router } from '@angular/router';
|
|
|
|
@Component({
|
|
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() {
|
|
//
|
|
}
|
|
}
|