@amcharts/amcharts5
Version:
amCharts 5
20 lines • 443 B
JavaScript
export class Value {
constructor(entity, value) {
this._dirty = false;
this._entity = entity;
this._value = value;
entity.markDirty();
}
get() {
return this._value;
}
set(value) {
this._value = value;
this._dirty = true;
this._entity.markDirty();
}
get dirty() {
return this._dirty;
}
}
//# sourceMappingURL=Value.js.map