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
| Parameter | Type | Description |
|---|---|---|
| constants | ConstantProvider | The rendering constants provider. |
| field | BlocklyField | The field to measure and store information for. |
| parentInput | Input | The parent input for the field. |