File

context-dashboard/memento/dashboard-originator.service.ts

Description

Holds current state of dashboard children during edit mode.

Index

Methods
Accessors

Methods

getState
getState()

Returns copy of current state.

initState
initState(state: DashboardChildrenState)

Initializes dashboard children state on edit mode start.

Parameters :
Name Type Optional Description
state DashboardChildrenState No

Dashboard children initial state.

Returns : void
setState
setState(state: DashboardChildrenState)

Updates dashboard children state when it is changed or restored with undo/redo.

Parameters :
Name Type Optional Description
state DashboardChildrenState No

Dashboard children updated state.

Returns : void

Accessors

currentStateName
getcurrentStateName()

Current dashboard children state name for indicating what change will be undone.

Returns : string

results matching ""

    No results matching ""