blockly > registry > unregister
registry.unregister() function
Unregisters the registry item with the given type and name.
Signature:
export declare function unregister<T>(type: string | Type<T>, name: string): void;
Parameters
Parameter | Type | Description |
---|---|---|
type | string | Type<T> | The type of the plugin. (e.g. Field, Renderer) |
name | string | The plugin's name. (Ex. field_angle, geras) |
Returns:
void