blockly > Eventos > ClickJson > blockId
Propriedade Events.ClickJson.blockId
Signature:
blockId?: string;
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2024-08-22 UTC.
[null,null,["Última atualização 2024-08-22 UTC."],[[["`blockId` is an optional property of the `Blockly.Events.ClickJson` interface."],["This property, of type string, stores the ID of the block that was clicked, if available."],["If the click event did not originate from a block, this property will be undefined."]]],["The `blockId` property, part of the `Events.ClickJson` interface, is an optional string. This property represents the ID of a block associated with a click event. It is defined within the `Blockly` framework, specifically in the `Events` and `ClickJson` namespace/interface. The presence of the `?` in the signature indicates that it is optional.\n"]]