blockly > ComponentManager > removeCapability
ComponentManager.removeCapability() method
Removes a capability from an existing registered component.
Signature:
removeCapability<T>(id: string, capability: string | Capability<T>): void;
Parameters
Parameter | Type | Description |
---|---|---|
id | string | The ID of the component to remove the capability from. |
capability | string | Capability<T> | The capability to remove. |
Returns:
void