Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Invalid
-
Affects Version/s: 2.0.0
-
Fix Version/s: 3.1
-
Component/s: ACE-Components
-
Labels:None
-
Environment:ACE
Description
When a chain of animations happen, there may be need by the application for the affected component to be restored to it's initial state. And with a transitory animation, like highlight, there should be a way to make it unhighlight after the duration is complete.
Activity
Mark Collette
created issue -
Ken Fyten
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [] | |
Fix Version/s | 2.1 [ 10241 ] | |
Assignee | Judy Guglielmin [ judy.guglielmin ] |
Judy Guglielmin
made changes -
Assignee | Judy Guglielmin [ judy.guglielmin ] | Ken Fyten [ ken.fyten ] |
Ken Fyten
made changes -
Fix Version/s | 3.1 [ 10312 ] | |
Fix Version/s | 3.0 [ 10241 ] |
Ken Fyten
made changes -
Status | Open [ 1 ] | Closed [ 6 ] |
Resolution | Invalid [ 6 ] |
Since the animations can be chained and are stored in the following format:-
animations[event]
the state that would be required to be saved would be just the first one added to this structure possibly. So the initial style (before animations are applied) could be saved from the node before the animation(s) are applied.
Once saving the originalStyle it can simply be restored like :-
<node>.setStyles(originalStyle);