Skip to main content

Home > blockly > FieldLabelSerializable

FieldLabelSerializable class

Class for a non-editable, serializable text field.

Signature:

export declare class FieldLabelSerializable extends FieldLabel 

Extends: FieldLabel

Constructors

ConstructorModifiersDescription
(constructor)(value, textClass, config)Constructs a new instance of the FieldLabelSerializable class

Properties

PropertyModifiersTypeDescription
EDITABLEbooleanEditable fields usually show some sort of UI indicating they are editable. This field should not.
SERIALIZABLEbooleanSerializable fields are saved by the XML renderer, non-serializable fields are not. This field should be serialized, but only edited programmatically.