mirror of
https://github.com/a2nt/webpack-bootstrap-ui-kit.git
synced 2024-06-27 23:09:22 +02:00
19 lines
306 B
JavaScript
19 lines
306 B
JavaScript
"use strict";
|
|
import $ from "jquery";
|
|
|
|
const SpinnerUI = (($) => {
|
|
class SpinnerUI {
|
|
static show(callback) {
|
|
$("#PageLoading").show(0, callback);
|
|
}
|
|
|
|
static hide(callback) {
|
|
$("#PageLoading").hide("slow", callback);
|
|
}
|
|
}
|
|
|
|
return SpinnerUI;
|
|
})($);
|
|
|
|
export default SpinnerUI;
|