Search docs/

ion-loading-controller

Contents

Loading controllers programmatically control the loading component. Loadings can be created and dismissed from the loading controller. View the Loading documentation for a full list of options to pass upon creation.

Methods

create

Description

Create a loading overlay with loading options.

Signaturecreate(options?: LoadingOptions | undefined) => Promise<HTMLIonLoadingElement>

dismiss

Description

Dismiss the open loading overlay.

Signaturedismiss(data?: any, role?: string | undefined, id?: string | undefined) => Promise<boolean>

getTop

Description

Get the most recently opened loading overlay.

SignaturegetTop() => Promise<HTMLIonLoadingElement | undefined>