blockly > Events > BlockDelete > (constructor)

Events.BlockDelete.(constructor)

Constructs a new instance of the BlockDelete class

Signature:

constructor(opt_block?: Block);

Parameters

Parameter Type Description
opt_block Block (Optional) The deleted block. Undefined for a blank event.