MLightCAD
    Preparing search index...

    Displays a centered infinite circular loading indicator with optional text.

    Features:

    • Framework-free — pure TypeScript & DOM
    • Auto-injects required CSS once per document
    • Shows/hides without removing DOM
    • Dynamically update message text
    • Optional mlightcad icon centered inside the spinner ring
    • Safe for multiple instances
    const progress = new AcApProgress({ message: "Loading data…" });
    progress.show();

    setTimeout(() => {
    progress.setMessage("Almost done…");
    }, 1500);

    // progress.hide();
    // progress.destroy();
    Index

    Constructors

    Properties

    messageEl: HTMLDivElement

    Message text element displayed under the spinner.

    options: Required<AcApProgressOptions>

    Immutable resolved configuration for this instance.

    root: HTMLDivElement

    Root overlay container element appended to the configured host.

    spinner: HTMLDivElement

    Spinner circle element.

    styleId: string = 'ml-ccl-loader-styles'

    ID assigned to the injected <style> element. Used to ensure styles are only injected once.

    stylesInjected: boolean = false

    Tracks whether component CSS has already been injected.

    Methods