Allows users to customize the LoadingScreen spinner.

interface Spinner {
    get borderSize(): string;
    set borderSize(borderSize: string): void;
    get color(): string;
    set color(color: string): void;
    get size(): string;
    set size(size: string): void;
}

Accessors

  • get borderSize(): string
  • Returns string

    The CSS used to control the size of the spinner's border.

    "0.75rem"
    
  • set borderSize(borderSize: string): void
  • Parameters

    • borderSize: string

      The CSS used to control the size of the spinner's border.

    Returns void

  • get color(): string
  • Returns string

    The CSS used to control the color of the spinner.

    "rgb(64, 150, 255)"
    
  • set color(color: string): void
  • Parameters

    • color: string

      The CSS used to control the color of the spinner.

    Returns void

  • get size(): string
  • Returns string

    The CSS used to control the spinner's overall height and width.

    "3rem"
    
  • set size(size: string): void
  • Parameters

    • size: string

      The CSS used to control the spinner's overall height and width.

    Returns void