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
Parameter | Type | Required | Description |
---|---|---|---|
dashboardDefinitionId | String | true | dashboard definition Id |
Basic Usage
SW.markAsSaved(workspaceContext.definition.Id);