mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-11 10:10:25 +01:00
28 lines
696 B
TypeScript
28 lines
696 B
TypeScript
import {
|
|
ToasterConfig,
|
|
ToasterContainerComponent,
|
|
} from 'angular2-toaster';
|
|
import { Angulartics2GoogleAnalytics } from 'angulartics2/ga';
|
|
|
|
import { Component } from '@angular/core';
|
|
|
|
@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(angulartics2GoogleAnalytics: Angulartics2GoogleAnalytics) {
|
|
// ctor
|
|
}
|
|
}
|