sp webpart base.basewebpart.loadpropertypaneresources - microsoft/Viva-Connections-Extensibility-Beta GitHub Wiki
Home > @microsoft/sp-webpart-base > BaseWebPart > loadPropertyPaneResources
This API enables asynchronous loading of property pane related resources of the web part.
Signature:
/** @virtual */
protected loadPropertyPaneResources(): Promise<void>;Returns:
Promise<void>
If not overridden by the web part, base web part resolves the promise immediately.
This method is called before any property pane APIs are called. Other property pane APIs cannot be called until this promise is resolved. No other property pane related events are raised except 'PropertyPaneConfigurationComplete'.
'PropertyPaneConfigurationComplete' event can be raised to clean up any pending resources including 'loadPropertyPaneResources' promise.