FarmMapsLib/src/app/app.component.ts
Willem Dantuma d494a7c7d6
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
Implement healthcheck service
2020-07-22 20:31:12 +02:00

15 lines
346 B
TypeScript

import { Component } from '@angular/core';
@Component({
selector: 'app-root',
template:'<fm-app></fm-app>'
})
export class AppRootComponent {
title = 'FarmMaps';
constructor() {
window.addEventListener('online', () => console.log('came online'));
window.addEventListener('offline', () => console.log('came offline'));
}
}