Home > @unseenco/backstage-core > IProject > unloadSheet
IProject.unloadSheet() method
Unloads one sheet and its attached objects from memory.
Runtime-only: persisted prop overrides and sequence data are kept. Calling again with the same sheetId recreates the sheet.
Signature:
typescript
unloadSheet(sheetId: string, instanceId?: string): void;Parameters
| Parameter | Type | Description |
|---|---|---|
| sheetId | string | The sheet id previously given to |
| instanceId | string | If provided, only that instance is unloaded. If omitted, all loaded instances of sheetId are unloaded. |
Returns:
void