Skip to main content

Home > blockly > Events > BlockBase > (constructor)

Events.BlockBase.(constructor)

Constructs a new instance of the BlockBase class

Signature:

constructor(opt_block?: Block);

Parameters

ParameterTypeDescription
opt_blockBlock(Optional) The block this event corresponds to. Undefined for a blank event.