Saltar al contenido principal

Mark as Saved

Description​

This method can be used to mark changes as saved, so when navigating, the prompt will not be shown saying that are changes that were not saved

Method(s)​

function markAsSaved(dashboardDefinitionId: string): void
ParameterTypeRequiredDescription
dashboardDefinitionIdStringtruedashboard definition Id

Basic Usage​

SW.markAsSaved(workspaceContext.definition.Id);

img-box-shadow

Response​

img-box-shadow