add hourly forecast
This commit is contained in:
parent
85148ea5fa
commit
c4e8ef6a14
11 changed files with 70 additions and 18 deletions
|
|
@ -77,6 +77,12 @@ class TravelForecast extends WeatherDisplay {
|
|||
this.longContext = this.longCanvas.getContext('2d');
|
||||
this.longCanvasGifs = [];
|
||||
}
|
||||
|
||||
// stop all gifs
|
||||
this.longCanvasGifs.forEach(gif => gif.pause());
|
||||
// delete the gifs
|
||||
this.longCanvasGifs.length = 0;
|
||||
|
||||
// set up variables
|
||||
const cities = this.data;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue