sp webpart base.basewebpart._constructor_ - microsoft/Viva-Connections-Extensibility-Beta GitHub Wiki

Home > @microsoft/sp-webpart-base > BaseWebPart > (constructor)

BaseWebPart.(constructor)

Constructor for the BaseWebPart class.

Signature:

constructor();

Remarks

It is highly recommended that the web part use the OnInit API to perform any web part specific initialization. Most of the web part features like this.context and this.properties are not available to be used before the the onInit part of the web part loading lifecycle.

⚠️ **GitHub.com Fallback** ⚠️