blockly > Events > BlockDragJson
Events.BlockDragJson interface
Signature:
export interface BlockDragJson extends AbstractEventJson
Extends: AbstractEventJson
Properties
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["The `Events.BlockDragJson` interface, extending `AbstractEventJson`, describes block drag events in Blockly and is used for serialization."],["It includes properties like `blockId` (string, required) to identify the dragged block and `isStart` (boolean, required) to indicate drag start or end."],["It also has an optional `blocks` property (array of `Block` objects) potentially holding information about related blocks involved in the drag."]]],[]]