diff options
Diffstat (limited to 'scripts/main.js')
| -rw-r--r-- | scripts/main.js | 5 | 
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/main.js b/scripts/main.js index cedfb79..0ed7fd1 100644 --- a/scripts/main.js +++ b/scripts/main.js @@ -20,6 +20,11 @@ class Client {          content.appendChild(this.wheel.element);          this.therm = new WidgetThermostat({temp: 72, gague: 69});          content.appendChild(this.therm.element); +		this.sel_b = new WidgetSelectButton(2); +		this.sel_b.addOption("Heat", "heat"); +		this.sel_b.addOption("Cool", "cool"); +		this.sel_b.addOption("Eco", "eco"); +		content.appendChild(this.sel_b.element);          // content.appendChild(Widget("button").el);          // content.appendChild(Widget("checkbox").el);          // content.appendChild(Widget("slider").el);  |