• Combines slide & fade transitions into a single transition. For options easing this is applied to both transitions, however if provided easingSlide and / or easingFade will take precedence. The default easing is linear.

    Parameters

    • node: HTMLElement

      The transition node.

    • Optional options: {
          delay?: number;
          duration?: number;
          easing?: EasingFunction;
          easingFade?: EasingFunction;
          easingSlide?: EasingFunction;
      }

      Optional parameters.

      • Optional delay?: number

        Delay in ms before start of transition.

      • Optional duration?: number

        Total transition length in ms.

      • Optional easing?: EasingFunction

        The easing function to apply to both slide & fade transitions.

      • Optional easingFade?: EasingFunction

        The easing function to apply to the fade transition.

      • Optional easingSlide?: EasingFunction

        The easing function to apply to the slide transition.

    Returns TransitionConfig

    Transition config.