Stay organized with collections Save and categorize content based on your preferences.

blockly > Events > BlockDelete

Events.BlockDelete class

Class for a block deletion event.


export declare class BlockDelete extends BlockBase 

Extends: BlockBase


Constructor Modifiers Description
(constructor)(opt_block) Constructs a new instance of the BlockDelete class


Property Modifiers Type Description
ids? string[] (Optional)
oldJson? blocks.State (Optional)
oldXml? Element | DocumentFragment (Optional)
type string
wasShadow? boolean (Optional)


Method Modifiers Description
fromJson(json) Decode the JSON event.
run(forward) Run a deletion event.
toJson() Encode the event as JSON.