研究调查问卷:请告诉我们您使用 Blockly 的体验
开始调查问卷
blockly >IRegistrable
IRegistrable 接口
可注册的 Blockly 组件的接口。
Signature:
export interface IRegistrable
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-10-11。
[null,null,["最后更新时间 (UTC):2024-10-11。"],[[["The `IRegistrable` interface is designed for Blockly components that have the capability to be registered within the system."],["This interface serves as a blueprint for defining components that can be registered, ensuring they adhere to a standardized structure for registration within the Blockly environment."]]],["The `IRegistrable` interface defines a component within Blockly that is capable of being registered. It is an interface, signifying a contract that any implementing class must adhere to. The core purpose of this interface is to provide a standardized way for various Blockly components to be added and managed within the system. The interface is declared using the TypeScript keyword `export`, allowing it to be used by other parts of a program.\n"]]