widgets: add setValue empty method in base class

This commit is contained in:
jean-emmanuel 2018-01-27 11:11:00 +01:00
parent 122367fba2
commit da29228d9d

View file

@ -145,6 +145,8 @@ module.exports = class _widgets_base extends EventEmitter {
}
setValue() {}
getValue(withPrecision) {
return _widgets_base.deepCopy(this.value, withPrecision ? this.precision : undefined)