bitwarden-estensione-browser/src/app/app.component.ts

28 lines
696 B
TypeScript
Raw Normal View History

2018-02-08 16:37:54 +01:00
import {
ToasterConfig,
ToasterContainerComponent,
} from 'angular2-toaster';
2018-01-26 16:50:06 +01:00
import { Angulartics2GoogleAnalytics } from 'angulartics2/ga';
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-26 22:41:26 +01:00
// ctor
2018-01-26 16:50:06 +01:00
}
2018-01-16 20:48:34 +01:00
}