UNPKG

jiro-ui

Version:

A Mithril.js UI library based from construct-ui

19 lines (18 loc) 591 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); 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; }()); exports.default = new TransitionManager();