研究调查问卷:请告诉我们您使用 Blockly 的体验
开始调查问卷
图标
图标用于定义某些界面元素,用于显示或定义块的“元”信息。这通常意味着它们充当可点击的按钮,点击该按钮会弹出包含更多信息或编辑器的弹出式窗口。
→ 关于字段与图标的更多信息。
Blockly 提供了一些内置图标,可满足常见用例的需求,例如为代码块添加注释或警告。如需详细了解相关信息,请参阅参考文档。
此外,如果内置图标无法满足您的使用需求,Blockly 还可以让您定义自己的自定义图标。
→ 详细了解如何创建自定义图标。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-06-28。
[null,null,["最后更新时间 (UTC):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"]]