IPropertyPaneField interface

PropertyPane field.

Properties

properties

Strongly typed properties object. Specific to each field type.

shouldFocus

Whether this control should be focused.

targetProperty

Target property from the web part's property bag.

type

Type of the PropertyPane field.

Property Details

properties

Strongly typed properties object. Specific to each field type.

properties: TProperties;

Property Value

TProperties

Remarks

Example: Checkbox has ICheckboxProps, TextField has ITextField props.

shouldFocus

Whether this control should be focused.

shouldFocus?: boolean;

Property Value

boolean

Remarks

The default value is false.

targetProperty

Target property from the web part's property bag.

targetProperty: string;

Property Value

string

type

Type of the PropertyPane field.

type: PropertyPaneFieldType;

Property Value