UNPKG

jiro-ui

Version:

A Mithril.js UI library based from construct-ui

17 lines (16 loc) 511 B
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();