separate data and css

This commit is contained in:
Matt Walsh
2020-09-08 10:05:46 -05:00
parent 180ac0c5fa
commit 4cf146c7a2
19 changed files with 59 additions and 109 deletions

View File

@@ -5,7 +5,7 @@
class TravelForecast extends WeatherDisplay {
constructor(navId, elemId, weatherParameters) {
// special height and width for scrolling
super(navId, elemId);
super(navId, elemId, 'Travel Forecast');
// pre-load background image (returns promise)
this.backgroundImage = utils.image.load('images/BackGround6_1.png');