jiro-ui
Version:
A Mithril.js UI library based from construct-ui
17 lines (13 loc) • 314 B
text/typescript
class TransitionManager {
/** Whether transitions are active */
public isEnabled = true;
/** Enable all transitions */
public enable() {
this.isEnabled = true;
}
/** Disable all transitions */
public disable() {
return this.isEnabled = false;
}
}
export default new TransitionManager();