A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://js.devexpress.com/Vue/Documentation/ApiReference/Common/Object_Structures/AnimationConfig/ below:

Vue Common - Object Structures - animationConfig

Defines animation properties.

A function called after animation is completed.

A number specifying wait time before animation execution.

Specifies the animation direction for the "slideIn" and "slideOut" animation types.

A number specifying the time in milliseconds spent on animation.

A string specifying the easing function for animation.

DevExtreme supports CSS transition timing functions ("linear", "ease", "ease-in", "ease-out", "ease-in-out", "cubic-besier(0,1,1,0)", etc.). For more information on CSS transition timing functions, see CSS3 transition-timing-function Property.

jQuery

You can also implement predefined jQuery easing ("linear" and "swing"), or register a custom easing function and pass its name to the easing property.

$.easing.customEasing = function(t, millisecondsSince, startValue, endValue, totalDuration) {
    if (t < 0.5) {
        return t * 4;
    } else {
        return -2 * t + 3;
    }
};

var animationOptions = {
    show: {
        duration: 2000,
        type: "slide",
        from: { left: -300 },
        easing: "customEasing"
    }
};

Specifies an initial animation state. Use the to property to specify the final state.

Type: AnimationState

Default Value: {}

The values that this property accepts depend on the specified animation type. The following list illustrates the dependency:

A number specifying the time period to wait before the animation of the next stagger item starts.

Specify this property for a staggered animation - when several elements are animated one after another with a delay. Note that this type of animation can be performed only by the TransitionExecutor.

A function called before animation is started.

Specifies a final animation state. Use the from property to specify an initial state.

Type: AnimationState

Default Value: {}

The values that this property accepts depend on the specified animation type. The following list illustrates the dependency:

A string value specifying the animation type.

The value of the property affects the UI component's initial and target states, which are specified using the from and to properties.

The type properties can take on the following values.

If the type property is set to "slideIn" or "slideOut", specify the sliding direction using the direction property.

Feel free to share topic-related thoughts here.
If you have technical questions, please create a support ticket in the DevExpress Support Center.
Thank you for the feedback!

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4