blockly > Events > disableOrphans

Events.disableOrphans() 函数

根据块是否已正确连接,设置块是否已停用。在所有块都应连接到顶部块的应用中使用此模式。

Signature:

export declare function disableOrphans(event: Abstract): void;

参数

参数 类型 说明
事件 摘要 事件的自定义数据。

返回

void