Skip to content

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

ParameterTypeDescription
sheetIdstringThe sheet id previously given to
instanceIdstringIf provided, only that instance is unloaded. If omitted, all loaded instances of sheetId are unloaded.

Returns:

void