Skip to content

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 ​

ParameterTypeDescription
keystringThe key of the object previously given to sheet.object(key, ...).

Returns:

void