Skip to main content

Home > blockly > blockRendering > Field > (constructor)

blockRendering.Field.(constructor)

Constructs a new instance of the Field class

Signature:

constructor(constants: ConstantProvider, field: BlocklyField, parentInput: Input);

Parameters

ParameterTypeDescription
constantsConstantProviderThe rendering constants provider.
fieldBlocklyFieldThe field to measure and store information for.
parentInputInputThe parent input for the field.