• 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.

    • Optionaloptions: {
          axis?: "x" | "y";
          delay?: number;
          duration?: number;
          easing?: EasingReference;
          easingFade?: EasingReference;
          easingSlide?: EasingReference;
      }

      Optional parameters.

      • Optionalaxis?: "x" | "y"

        The sliding axis.

      • Optionaldelay?: number

        Delay in ms before start of transition.

      • Optionalduration?: number

        Total transition length in ms.

      • Optionaleasing?: EasingReference

        Easing function name or function to apply to both slide & fade transitions.

      • OptionaleasingFade?: EasingReference

        Easing function name or function to apply to the fade transition.

      • OptionaleasingSlide?: EasingReference

        Easing function name or function to apply to the slide transition.

    Returns TransitionConfig

    Transition config.