blockly > Events > BlockDrag > toJson

Events.BlockDrag.toJson() method

Encode the event as JSON.

Signature:

toJson(): BlockDragJson;

Returns:

BlockDragJson

JSON representation.