圖示
圖示用於定義特定 UI 元素,藉此顯示或定義區塊的「中繼」資訊。這通常代表可點擊的按鈕,以便開啟含有更多資訊或編輯器的彈出式視窗。
→ 進一步瞭解「欄位和圖示」。
「封鎖」部分提供可執行常見用途的內建圖示,例如,在註解中加入註解或警告。如要進一步瞭解,請參閱參考說明文件。
如果區塊圖示無法滿足您的用途,您也可以運用自訂功能自行定義自訂圖示。
→ 進一步瞭解如何建立自訂圖示。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2023-06-28 (世界標準時間)。
[null,null,["上次更新時間:2023-06-28 (世界標準時間)。"],[[["Icons represent UI elements displaying \"meta\" information about a block, often acting as clickable buttons for pop-ups or editors."],["Blockly offers pre-built icons for common functions like comments and warnings, documented in the reference materials."],["Developers can create custom icons to extend beyond Blockly's default options, with implementation guidance available in a separate guide."]]],["Icons in Blockly are UI elements that display \"meta\" information about blocks, often functioning as clickable buttons to reveal pop-ups or editors. Blockly includes pre-built icons for common functions like comments and warnings, detailed in the reference documentation. Users can also create custom icons to suit specific needs beyond the built-in options. Further details on built in and custom icons are available in the provided guides.\n"]]