started to add "spotlight"

This commit is contained in:
grata
2023-03-06 15:18:56 +01:00
parent 49b53590b6
commit ae129e0781

View File

@@ -1,4 +1,5 @@
import {Component, OnInit} from '@angular/core'; import {AfterContentInit, AfterViewInit, Component, ElementRef, OnInit, ViewChild} from '@angular/core';
import {debounceTime, distinctUntilChanged, fromEvent, Subject} from "rxjs";
interface Luogo { interface Luogo {
nome: string; nome: string;
@@ -11,7 +12,10 @@ interface Luogo {
templateUrl: './home.component.html', templateUrl: './home.component.html',
styleUrls: ['./home.component.css'] styleUrls: ['./home.component.css']
}) })
export class HomeComponent implements OnInit { export class HomeComponent implements OnInit, AfterViewInit {
luoghiPopup: Subject<Luogo[]> = new Subject<Luogo[]>()
latitude: number | undefined; latitude: number | undefined;
longitude: number | undefined; longitude: number | undefined;
backgroundColor: string | undefined; backgroundColor: string | undefined;