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

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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: