apps/live-weather/src/app/city-details-container/city-details-container.component.ts
selector | weather-base-city-details-container |
styleUrls | ./city-details-container.component.scss |
templateUrl | ./city-details-container.component.html |
Properties |
|
Methods |
|
constructor(activatedRoute: ActivatedRoute, dataStoreService: DataStoreService, googlePlacesService: GooglePlacesService, openWeatherService: OpenWeatherService, placesService: PlacesService)
|
||||||||||||||||||||||||
Creates instance of
Parameters :
|
ngOnInit |
ngOnInit()
|
Returns :
void
|
Public onFavoriteAdd | ||||||||
onFavoriteAdd(place: IPlace)
|
||||||||
Add a place to favorite collection
Parameters :
Returns :
void
|
Public place |
Type : IPlace
|
Public weatherReport |
Type : IOpenWeatherReport
|
./city-details-container.component.scss