Class BounceTransition


  • public class BounceTransition
    extends CachedTimelineTransition
    Animate a bounce effect on the given node Port of Bounce from Animate.css by Dan Eden
     @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
            40% {transform: translateY(-30px);}
            60% {transform: translateY(-15px);}
     }
     
    Since:
    2.0.0
    • Constructor Detail

      • BounceTransition

        public BounceTransition​(Node node)
        Create new BounceTransition
        Parameters:
        node - The node to affect
      • BounceTransition

        public BounceTransition​(Node node,
                                Duration duration)
        Create new BounceTransition
        Parameters:
        node - The node to affect
        duration - The duration of this Transition.
        Since:
        5.0.0