Skip to main content

Home > blockly > Events > BlockFieldIntermediateChange > (constructor)

Events.BlockFieldIntermediateChange.(constructor)

Constructs a new instance of the BlockFieldIntermediateChange class

Signature:

constructor(opt_block?: Block, opt_name?: string, opt_oldValue?: unknown, opt_newValue?: unknown);

Parameters

ParameterTypeDescription
opt_blockBlock(Optional) The changed block. Undefined for a blank event.
opt_namestring(Optional) Name of the field affected.
opt_oldValueunknown(Optional) Previous value of element.
opt_newValueunknown(Optional) New value of element.