封鎖 >事件 >BlockBase >blockId
Events.BlockBase.blockId 屬性
與此事件相關聯的區塊 ID。
Signature:
blockId?: string;
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-10-14 (世界標準時間)。
[null,null,["上次更新時間:2024-10-14 (世界標準時間)。"],[[["`blockId` is a property of the `BlockBase` class within the `Events` namespace in Blockly."],["It stores the unique identifier of the block related to a specific event and is optional, represented as a string."]]],["The `blockId` property, part of the `Events.BlockBase` class, stores the unique identifier of a block. This string ID links the event to the specific block it affects. The property is optional and its purpose is to identify the relevant block associated with a given event.\n"]]