sp webpart base.iclientsidewebpartstatusrenderer - microsoft/Viva-Connections-Extensibility-Beta GitHub Wiki
Home > @microsoft/sp-webpart-base > IClientSideWebPartStatusRenderer
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| 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. |