Spinner

less than 1 minute read

References

TypeScript

import { Components } from "gd-sprest-bs";

// Create the spinner
let el = document.querySelector("#spinner");
let spinner = Components.Spinner({
    el: el,
    text: "Loading...",
    type: Components.SpinnerTypes.Danger
});

Code Playground