construct-ui
Version:
A Mithril.js UI library
17 lines (16 loc) • 527 B
JavaScript
var TransitionManager = /** @class */ (function () {
function TransitionManager() {
/** Whether transitions are active */
this.isEnabled = true;
}
/** Enable all transitions */
TransitionManager.prototype.enable = function () {
this.isEnabled = true;
};
/** Disable all transitions */
TransitionManager.prototype.disable = function () {
return this.isEnabled = false;
};
return TransitionManager;
}());
export default new TransitionManager();