FarmMapsLib/src/app/app.component.ts

15 lines
346 B
TypeScript
Raw Normal View History

2019-06-26 12:35:47 +00:00
import { Component } from '@angular/core';
@Component({
selector: 'app-root',
2019-11-05 16:19:33 +00:00
template:'<fm-app></fm-app>'
2019-06-26 12:35:47 +00:00
})
2019-11-04 17:47:15 +00:00
export class AppRootComponent {
2019-11-05 16:19:33 +00:00
title = 'FarmMaps';
2020-07-22 18:31:12 +00:00
constructor() {
window.addEventListener('online', () => console.log('came online'));
window.addEventListener('offline', () => console.log('came offline'));
}
2019-06-26 12:35:47 +00:00
}