Interface: IPropertyPane
Property pane present dynamic content. It can be associated with an object and presented with different kind of controls.
Properties
collapsed
collapsed:
boolean
Remarks
Pane state for being expanded or collapsed.
id
readonly
id:string
Remarks
Unique ID for the property pane.
onPropertyPaneVisibilityUpdated
onPropertyPaneVisibilityUpdated:
EventSink
<PropertyPaneVisibilityUpdate
>
Remarks
Provides visibility change events
parentPaneId?
optional
readonly
parentPaneId:string
Remarks
In case of sub pane this is the id of the parent pane.
titleAltText
titleAltText:
string
Remarks
Fallback display text if no loc ID
titleStringId
titleStringId:
string
Remarks
Loc ID (resolved on client)
width?
optional
width:number
Remarks
Width of the panel in rem.
Methods
addBlockPicker()
addBlockPicker<
T
,Prop
>(obj
,property
,options
?):IPropertyItem
<T
,Prop
>
Type parameters
Type parameter |
---|
T extends PropertyBag |
Prop extends string |
Parameters
Parameter | Type |
---|---|
obj | T |
property | Prop |
options ? | IPropertyItemOptionsDataPicker |
Returns
IPropertyItem
<T
, Prop
>
Remarks
Adds a BlockPicker item to the pane.
addBool()
addBool<
T
,Prop
>(obj
,property
,options
?):IPropertyItem
<T
,Prop
>
Type parameters
Type parameter |
---|
T extends PropertyBag |
Prop extends string |
Parameters
Parameter | Type |
---|---|
obj | T |
property | Prop |
options ? | IPropertyItemOptionsBool |
Returns
IPropertyItem
<T
, Prop
>
Remarks
Adds a boolean item to the pane.
addButton()
addButton(
action
,options
?):IActionPropertyItem
<object
,"EMPTY"
>
Parameters
Parameter | Type |
---|---|
action | RegisteredAction <NoArgsAction > |
options ? | IPropertyItemOptionsButton |
Returns
IActionPropertyItem
<object
, "EMPTY"
>
EMPTY
EMPTY:
undefined
Remarks
Adds a button to the pane and binds the specified action to the button activate.
addDivider()
addDivider():
IPropertyItem
<PropertyBag
,string
>
Returns
IPropertyItem
<PropertyBag
, string
>
Remarks
Adds an divider item to the pane.
addDropdown()
addDropdown<
T
,Prop
>(obj
,property
,options
?):IDropdownPropertyItem
<T
,Prop
>
Type parameters
Type parameter |
---|
T extends Omit <PropertyBag , Prop > & { [key in string]: number } |
Prop extends string |
Parameters
Parameter | Type |
---|---|
obj | T |
property | Prop |
options ? | IPropertyItemOptionsDropdown |
Returns
IDropdownPropertyItem
<T
, Prop
>
Remarks
Adds an DropDown item to the pane.
addEntityPicker()
addEntityPicker<
T
,Prop
>(obj
,property
,options
?):IPropertyItem
<T
,Prop
>