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

sp webpart base.iclientsidewebpartstatusrenderer.rendererror

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

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

IClientSideWebPartStatusRenderer.renderError() method

Render the provided error message in the webpart container div.

Signature:

renderError(domElement: HTMLElement, error: Error | string): void;

Parameters

Parameter Type Description
domElement HTMLElement the web part container div.
error Error | string the error message.

Returns:

void

Clone this wiki locally