Options
All
  • Public
  • Public/Protected
  • All
Menu

Show and hide loading prompt on the bottom right of the screen.

Example:

import { LoadingPrompt } from '@nativewrappers/client/ui';

LoadingPrompt.show("Hello World");

setTimeout(() => {
LoadingPrompt.hide();
}, 10000)'

Hierarchy

  • LoadingPrompt

Index

Constructors

Accessors

Methods

Constructors

constructor

Accessors

Static IsActive

  • get IsActive(): boolean

Methods

Static hide

  • hide(): void

Static show

  • Shows a loading prompt.

    Parameters

    • loadingText: string = ''

      Text to be displayed inside loading prompt.

    • spinnerType: LoadingSpinnerType = LoadingSpinnerType.RegularClockwise

      Type of spinner.

    Returns void

Generated using TypeDoc