diff options
author | Humberto Alfonso Díaz <humberto.alfonso@asvito.es> | 2019-07-05 11:15:05 +0200 |
---|---|---|
committer | Humberto Alfonso Díaz <humberto.alfonso@asvito.es> | 2019-07-05 11:15:05 +0200 |
commit | e7ed285298166bf0589f6a6d8e88000c60d5681b (patch) | |
tree | d109f6f139868a7239ca16ac0eae331fe71f3539 /src/js/fan_speed.js | |
parent | 238bcb88ac7bd7e6083fdd8dd6227163a37ece70 (diff) |
FUNCT Add buttons, fan speed and chair functionality
Diffstat (limited to 'src/js/fan_speed.js')
-rw-r--r-- | src/js/fan_speed.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/js/fan_speed.js b/src/js/fan_speed.js new file mode 100644 index 0000000..cc81fe0 --- /dev/null +++ b/src/js/fan_speed.js @@ -0,0 +1,10 @@ +module.exports = { + set: function(value) { + document.getElementById('FanSpeedProgress').value = value; + document.getElementById('FanSpeedInput').value = value; + }, + update: function( value ) { + this.set(value); + + } +}
\ No newline at end of file |