Forum Discussion
DanielAlbarran
2 years agoCommunity Member
A shrink-to-the-corner effect. Is it possible?
Hi everyone. I have an object displayed in full size; I want that when clicking a close button, said object shrinks to a corner.
Is there a trigger that launches animations? Do you know a rou...
ID4WiscState
2 years agoCommunity Member
I rarely aspire for this because I think it needs javascript to perform well and I find Javascript intimidating; but if I need it, I will-
- Put the item I'm shrinking on a rectangle that is twice as wide and twice as tall as my shrinking graphic.
- Put the shrinking graphic in the corner of the rectangle opposite the direction you want it to shrink.
- Group the graphic and rectangle.
- Apply the shrink animation to the group.