context-dashboard/memento/dashboard-originator.service.ts
Holds current state of dashboard children during edit mode.
Methods |
Accessors |
getState |
getState()
|
Returns copy of current state.
Returns :
DashboardChildrenState
|
initState | ||||||||
initState(state: DashboardChildrenState)
|
||||||||
Initializes dashboard children state on edit mode start.
Parameters :
Returns :
void
|
setState | ||||||||
setState(state: DashboardChildrenState)
|
||||||||
Updates dashboard children state when it is changed or restored with undo/redo.
Parameters :
Returns :
void
|
currentStateName |
getcurrentStateName()
|
Current dashboard children state name for indicating what change will be undone.
Returns :
string
|