UNPKG

opendash

Version:

open.DASH data visualization framework

24 lines 883 B
var StorageAdapterContext = /** @class */ (function () { function StorageAdapterContext(storage, service, app) { this.storage = storage; this.service = service; } StorageAdapterContext.prototype.setLoading = function (value) { this.service.setLoading(value); }; StorageAdapterContext.prototype.set = function (key, value) { this.storage.set(key, value); this.service.notifySubscribers(); }; StorageAdapterContext.prototype.delete = function (key) { this.storage.delete(key); this.service.notifySubscribers(); }; StorageAdapterContext.prototype.clear = function () { this.storage.clear(); this.service.notifySubscribers(); }; return StorageAdapterContext; }()); export { StorageAdapterContext }; //# sourceMappingURL=StorageAdapterContext.js.map