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

sp webpart base.ipropertypaneaccessor

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

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

IPropertyPaneAccessor interface

Web part context property pane accessor interface. Provides some most commonly used operations to access the property pane.

Signature:

export interface IPropertyPaneAccessor

Methods

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.
Clone this wiki locally