blockly > FieldLabelSerializable

FieldLabelSerializable class

Class for a non-editable, serializable text field.

Signature:

export declare class FieldLabelSerializable extends FieldLabel 

Extends: FieldLabel

Constructors

Constructor Modifiers Description
(constructor)(value, textClass, config) Constructs a new instance of the FieldLabelSerializable class

Properties

Property Modifiers Type Description
EDITABLE boolean Editable fields usually show some sort of UI indicating they are editable. This field should not.
SERIALIZABLE boolean Serializable fields are saved by the XML renderer, non-serializable fields are not. This field should be serialized, but only edited programmatically.