You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
User need a way to go back/forward to the history of the system lifecycle. To do so, we need to create a history component with undo and redo APIs to navigate into the history of component state.
Proposed APIs
// get the history componentconsthistory=runtime.require('history')// start historizationhistory.start()// go back in the historyhistory.from(-1)// set the cursor at the index we want, -1 means to start from the end of the history stackhistory.back()// go forward the in historyhistory.forward()// dump the current historyconstdump=history.dump()// load an history and inject the modifications to the current systemhistory.load(dump)// stop historizationhistory.stop()
The text was updated successfully, but these errors were encountered:
User need a way to go back/forward to the history of the system lifecycle. To do so, we need to create a
history
component withundo
andredo
APIs to navigate into the history of component state.Proposed APIs
The text was updated successfully, but these errors were encountered: