研究调查问卷:请告诉我们您使用 Blockly 的体验
开始调查问卷
blockly > common
通用命名空间
函数
变量
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-12-02。
[null,null,["最后更新时间 (UTC):2023-12-02。"],[[["The `common` namespace provides functions for managing workspaces, defining blocks, and handling UI elements within Blockly."],["It includes functions to find, register, and unregister workspaces, as well as to manipulate the main workspace."],["Developers can use this namespace to define blocks programmatically from JSON definitions or add them to the Blockly.Blocks dictionary."],["Functions are available for interacting with selected objects, resizing the SVG workspace, and managing drag-and-drop connections."],["The `common` namespace also exposes variables for tracking dragging connections and for testing purposes."]]],[]]