1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-11 10:10:25 +01:00
bitwarden-browser/src/app/app.component.ts

24 lines
671 B
TypeScript
Raw Normal View History

2018-01-26 16:50:06 +01:00
import { Angulartics2GoogleAnalytics } from 'angulartics2/ga';
2018-01-26 20:12:41 +01:00
import { ToasterContainerComponent, ToasterConfig } from 'angular2-toaster';
2018-01-26 16:50:06 +01:00
2018-01-16 20:48:34 +01:00
import { Component } from '@angular/core';
@Component({
2018-01-16 21:58:17 +01:00
selector: 'app-root',
styles: [],
2018-01-26 20:12:41 +01:00
template: `
<toaster-container [toasterconfig]="toasterConfig"></toaster-container>
<router-outlet></router-outlet>`,
2018-01-16 20:48:34 +01:00
})
export class AppComponent {
2018-01-26 20:12:41 +01:00
toasterConfig: ToasterConfig = new ToasterConfig({
showCloseButton: true,
mouseoverTimerStop: true,
animation: 'flyRight',
limit: 5,
});
2018-01-26 16:50:06 +01:00
constructor(angulartics2GoogleAnalytics: Angulartics2GoogleAnalytics) {
}
2018-01-16 20:48:34 +01:00
}