Field Class

Describes a single content field. A field is usually represented as a grid column or a property pane row.

Extended by

Methods

Name Description
constructor(category: CategoryDescription, name: string, label: string, type: TypeDescription, isReadonly: boolean, priority: number, editor?: EditorDescription): Field Creates an instance of Field.  
isNestedContentField(): this is NestedContentField Is this a NestedContentField  
isPropertiesField(): this is PropertiesField Is this a PropertiesField  

Properties

Name Type Description
category CategoryDescription Category information  
editor undefined | EditorDescription Property editor used to edit values of this field  
isReadonly boolean Are values in this field read-only  
label string Display label  
name string Unique name  
parent Accessor ReadOnly NestedContentField | undefined Get parent  
priority number Priority of the field.  
type TypeDescription Description of this field's values data type  

Defined in

Last Updated: 13 June, 2024