研究调查问卷:请告诉我们您使用 Blockly 的体验
开始调查问卷
blockly >ToolboxSeparator >createDom_
创建分隔符的 DOM。
Signature:
protected createDom_(): HTMLDivElement;
返回:
HTMLDivElement
分隔符的父元素。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-10-11。
[null,null,["最后更新时间 (UTC):2024-10-11。"],[[["This method generates the Document Object Model (DOM) for a separator element within a Blockly toolbox."],["`createDom_` is a protected method belonging to the `ToolboxSeparator` class, and it returns an HTMLDivElement which acts as the separator's parent container."],["The signature of the method indicates that it takes no input and returns an HTMLDivElement."]]],["The `ToolboxSeparator.createDom_()` method generates the DOM (Document Object Model) for a separator element within a toolbox. This method is protected and returns an `HTMLDivElement`, which serves as the parent element for the created separator. Its core function is to construct the necessary HTML structure for a visual separator in the toolbox interface.\n"]]