Skip to content
This repository has been archived by the owner on Oct 23, 2021. It is now read-only.

sp webpart base.iclientsidewebpartstatusrenderer.displayloadingindicator

John Nguyen edited this page Apr 22, 2021 · 2 revisions

Home > @microsoft/sp-webpart-base > IClientSideWebPartStatusRenderer > displayLoadingIndicator

IClientSideWebPartStatusRenderer.displayLoadingIndicator() method

Display a loading spinner.

Signature:

displayLoadingIndicator(domElement: Element, loadingMessage: string, timeout?: number): void;

Parameters

Parameter Type Description
domElement Element the web part container div.
loadingMessage string the message to be displayed when the loading spinner id displayed.
timeout number timeout to render the loading indicator. Default is 1500ms.

Returns:

void

Clone this wiki locally