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

sp webpart base.ipropertypaneaccessor.isrenderedbywebpart

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

Home > @microsoft/sp-webpart-base > IPropertyPaneAccessor > isRenderedByWebPart

IPropertyPaneAccessor.isRenderedByWebPart() method

Indicates whether the PropertyPane was initially opened by the web part.

Signature:

isRenderedByWebPart(): boolean;

Returns:

boolean

Remarks

For example, if the web part calls this.context.propertyPane.open() then the property would be true, whereas if the property pane was opened by the host, then the value will be false.

Clone this wiki locally