Skip to content

Home > @unseenco/backstage-studio

backstage-studio package ​

The library providing the editor components of Backstage.js.

Functions ​

FunctionDescription
getStudio()This may only be called from modules inside the studio bundle.
objectHasDivergedFromSavedState(obj)Returns true when anything on this sheet object differs from the project state loaded from on-disk JSON (config.state passed to getProject()).
projectHasDivergedFromSavedState(project)Returns true when any sheet in the project differs from the state loaded from the on-disk JSON (config.state passed to getProject()).
setStudio(s)
sheetObjectDivergesFromSavedState(currentSheet, onDiskSheet, objectKey, currentAhistoricSheet)
studioHasDivergedFromSavedState()True when any loaded project has unsaved changes vs its config.state.

Variables ​

VariableDescription
studioThe main instance of Studio. Read more at
ToolbarDropdownSelectStudio toolbar dropdown control for extension authors building custom toolsets.