Home > @unseenco/backstage-core > ISheet > detachObject
ISheet.detachObject() method
Detaches a previously created child object from the sheet.
If you call sheet.object(key) again with the same key, the object's values of the object's props WILL NOT be reset to their initial values.
Signature:
typescript
detachObject(key: string): void;Parameters
| Parameter | Type | Description |
|---|---|---|
| key | string | The key of the object previously given to sheet.object(key, ...). |
Returns:
void