blockly > IRegistrable
IRegistrable interface
The interface for a Blockly component that can be registered.
Signature:
export interface IRegistrable
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["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"]]