研究调查问卷:请告诉我们您使用 Blockly 的体验
开始调查问卷
blockly >blockRendering >RenderInfo >RenderInfoaddInput_
根据需要向活动行添加输入元素,并记录该行上的输入类型。
Signature:
protected addInput_(input: Input, activeRow: Row): void;
参数
参数 |
类型 |
说明 |
输入 |
输入 |
用于记录相关信息的输入。 |
activeRow |
Row |
当前填充的行。 |
返回:
void
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-08-21。
[null,null,["最后更新时间 (UTC):2024-08-21。"],[[["The `addInput_` method is used within the Blockly block rendering process to manage the visual representation of block inputs."],["It specifically adds an input element to the current row being rendered and stores information about the input type."],["This method is crucial for correctly positioning and displaying inputs within a block's visual structure during rendering."]]],[]]