Hi,
I can use advanced actions with drop target in drag and drop interaction, here i am using it to increment a variable say A. But if i want to add a undo button, i need the last drop source to reset and also decrements the value of the variable A, that i changed just now.
The problem is there is no option of using advanced action with undo button.
— is there a way that i can add an advance action to undo button or create my own undo button which backtrack my last move and also execute an advance action
AFAIK there is no possibility for that. The object actions have an event, which is needed to trigger an action, but the Undo button is an embedded object, has no individual timeline and its action cannot be redefined. You cannot replace it, unless that is possible with JS, by a custom button. I have created a custom Reset button, because the embedded Reset is not resetting everything, but I never have found a way to do the same with the Undo button. I will reflect, if I see a solution, will be back.
You must be logged in to post a comment.