ICEfaces
  1. ICEfaces
  2. ICE-6580

ACE transitory animations restore initial state

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major 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 ]
        Hide
        Judy Guglielmin added a comment - - edited

        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);

        Show
        Judy Guglielmin added a comment - - edited 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);
        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 ]
        Hide
        Ken Fyten added a comment -

        This JIRA is no longer valid since we moved to jQuery animations in 3.0.

        Show
        Ken Fyten added a comment - This JIRA is no longer valid since we moved to jQuery animations in 3.0.
        Ken Fyten made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Invalid [ 6 ]

          People

          • Assignee:
            Ken Fyten
            Reporter:
            Mark Collette
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: