Function slideFade
- slide
Fade (node, options?): TransitionConfig Parameters
- node: HTMLElement
The transition node.
Optional
options: {
axis?: "x" | "y";
delay?: number;
duration?: number;
easing?: EasingReference;
easingFade?: EasingReference;
easingSlide?: EasingReference;
}Optional parameters.
Optional
axis?: "x" | "y"The sliding axis.
Optional
delay?: numberDelay in ms before start of transition.
Optional
duration?: numberTotal transition length in ms.
Optional
easing?: EasingReferenceEasing function name or function to apply to both slide & fade transitions.
Optional
easingFade ?: EasingReferenceEasing function name or function to apply to the fade transition.
Optional
easingSlide ?: EasingReferenceEasing function name or function to apply to the slide transition.
Returns TransitionConfig
Transition config.
- node: HTMLElement
Combines slide & fade transitions into a single transition. For options
easing
this is applied to both transitions, however if providedeasingSlide
and / oreasingFade
will take precedence. The default easing is linear.