Skip to main content

blockly > Events > BlockBase > (constructor)

Events.BlockBase.(constructor)

Constructs a new instance of the BlockBase class

Signature:

constructor(opt_block?: Block);

Parameters

Parameter

Type

Description

opt_block

Block

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