Contents
How are property pane defined in build your first web part?
The article Build your first web part describes how the property pane is defined in the HelloWorldWebPart class. The property pane properties are defined in propertyPaneSettings. A property pane has three key metadata: a page, an optional header, and at least one group.
You need to import the objects into a module before you can use them in your web parts: The property pane objects were split out into their own module, @microsoft/sp-property-pane, in the SharePoint Framework v1.9 release. Prior to this, they were included in the @microsoft/sp-webpart-base module.
What are the metadata of a property pane?
A property pane has three key metadata: a page, an optional header, and at least one group. Pages provide you the flexibility to separate complex interactions and put them into one or more pages.
What are the properties of a property pane?
The property pane properties are defined in propertyPaneSettings. A property pane has three key metadata: a page, an optional header, and at least one group. Pages provide you the flexibility to separate complex interactions and put them into one or more pages. Pages contain a header and groups.
How to define custom property pane control properties?
Define asynchronous dropdown property pane control properties. A custom property pane control has two sets of properties. The first set of properties are exposed publicly and are used to define the web part property inside the web part.
Where are the property panes in SharePoint framework?
With the SharePoint Framework it is fairly easy to configure the properties you want to expose in the property pane of your web part. All you have to do is specify each of the property pane fields you want to show in the propertyPaneSettings function underneath the groupFields property.