mirror of
https://github.com/bitwarden/browser
synced 2025-12-23 19:53:43 +00:00
25 lines
687 B
TypeScript
25 lines
687 B
TypeScript
import { Angulartics2GoogleAnalytics } from 'angulartics2/ga';
|
|
import { ToasterContainerComponent, ToasterConfig } from 'angular2-toaster';
|
|
|
|
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
|
|
}
|
|
}
|