UNPKG

mutants-appfx

Version:

appfx module

26 lines (19 loc) 693 B
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var UILoading = { registerImpl: function registerImpl(loadingImpl) { if (!!loadingImpl && typeof loadingImpl.show === 'function' && typeof loadingImpl.destroy === 'function') { UILoading.loadingImpl = loadingImpl; } }, show: function show(message) { UILoading.loadingImpl && UILoading.loadingImpl.show && UILoading.loadingImpl.show(message); }, destroy: function destroy() { UILoading.loadingImpl && UILoading.loadingImpl.destroy && UILoading.loadingImpl.destroy(); } }; exports.default = UILoading; //# sourceMappingURL=UILoading.js.map