I have a table on the left hand side where I can select an entry. This entry is being handled by a function that pushes the record to the other table (nothing fancy here!). Under the hood we post the entry to a odata service to store it as a favorite in this case. After storing, retrieve all the information back to make sure everything is updated. After the updated version, we select the added record and mark it specially (frontend only).
Select entry left
New entry is highlighted in right table
After 2 seconds highlighting is gone
First it checks if the selected item is already in the favorites list. If not, let's add it. After saving, we get all the favorites again from backend. Now let's find the added record and mark it also as a new record (
All other records will get the csstransition property as well, but it will be set to empty. This property will be used to do some magic!
Your newly added record will be marked as transition, the css will do the trick for 3 seconds. You can play with it ofcourse. I recently noticed and see it on internet as well while ordering that new lines are visually added to your basket. Love to think how we can integrate this more in UI5 and make it part of the framework.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 37 | |
| 32 | |
| 29 | |
| 28 | |
| 26 | |
| 25 | |
| 20 | |
| 14 | |
| 12 | |
| 11 |