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

sp webpart base.iclientsidewebpartstatusrenderer

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

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

IClientSideWebPartStatusRenderer interface

Interface to be implemented by a component that should display the loading indicator and error messages for a web part.

Signature:

export default interface IClientSideWebPartStatusRenderer

Methods

Method Description
clearError(domElement) Clear the webpart error message.
clearLoadingIndicator(domElement) Clear the loading indicator.
displayLoadingIndicator(domElement, loadingMessage, timeout) Display a loading spinner.
renderError(domElement, error) Render the provided error message in the webpart container div.
Clone this wiki locally