This repository has been archived by the owner on Oct 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
sp webpart base.ipropertypaneaccessor
John Nguyen edited this page Apr 22, 2021
·
2 revisions
Home > @microsoft/sp-webpart-base > IPropertyPaneAccessor
Web part context property pane accessor interface. Provides some most commonly used operations to access the property pane.
Signature:
export interface IPropertyPaneAccessor
Method | Description |
---|---|
close() | This API should be used to close the PropertyPane to help configure the web part. |
isPropertyPaneOpen() | Returns true if the PropertyPane is open. |
isRenderedByWebPart() | Indicates whether the PropertyPane was initially opened by the web part. |
open() | This API should be used to open the PropertyPane to help configure the web part. |
openDetails(context) | This API should be used to open the Details PropertyPane to help configure the items in the web part. |
refresh() | This API should be used to invoke the PropertyPane to help configure the web part. |