blockly > 事件 > isEnabled

Events.isEnabled() 函数

返回是否可以触发事件。

Signature:

export declare function isEnabled(): boolean;

返回

布尔值

如果已启用,则为“true”。