Repository URL to install this package:
|
Version:
3.0.4 ▾
|
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
const tslib_1 = require("tslib");
const mobx_1 = require("xmobx/mobx");
const exotic_1 = require("exotic"); // @TODO @actions
class OverlayContainer {
constructor() {
this.onClick = exotic_1.NO_OP;
this.isVisible = false;
this.count = 0;
this.delay = 300; // static types = {
// // not sure if there is any issue observabling a function
// onClick: NO_OP,
// isVisible: false,
// count: 0,
// delay: 300,
// }
// constructor() {
// extendObservable(this, OverlayContainer.types)
// }
}
}
tslib_1.__decorate([mobx_1.observable], OverlayContainer.prototype, "onClick", void 0);
tslib_1.__decorate([mobx_1.observable], OverlayContainer.prototype, "isVisible", void 0);
tslib_1.__decorate([mobx_1.observable], OverlayContainer.prototype, "count", void 0);
tslib_1.__decorate([mobx_1.observable], OverlayContainer.prototype, "delay", void 0);
exports.OverlayContainer = OverlayContainer;
const overlayContainer = new OverlayContainer();
exports.overlayContainer = overlayContainer;
exports.default = overlayContainer; //# sourceMappingURL=container.js.map