Hi ,
Dennis Seah thanks for sharing the code in one of the other post on the flip functionality but my issue is I want to apply the same on a toggle button of SAPui5 . At present on clicking the toggle button , I am changing the text of the button using setText function. So what I wanted is when a user clicks on the toggle button , it should flip and change the text of the button.
Now as per your code in JS Bin , what I understood was its necessary to have 2 child tags with id "front" and "back" under a parent div tag on which flip function will be called.
Now my problem is in my sapui5 toggle button , I probably can't have a div tag nor i can change the text of button dynamically inside div tag without using javascript.
So I m unsure if this flip functionality can be achieved in my case.
Thanks