Options
All
  • Public
  • Public/Protected
  • All
Menu
see

``

Type Parameters

  • TElement

Hierarchy

Index

Properties

duration?: JQuery.Duration

A string or number determining how long the animation will run.

easing?: string

A string indicating which easing function to use for the transition.

queue?: string | boolean

A Boolean indicating whether to place the animation in the effects queue. If false, the animation will begin immediately. As of jQuery 1.7, the queue option can also accept a string, in which case the animation is added to the queue represented by that string. When a custom queue name is used the animation does not automatically start; you must call .dequeue("queuename") to start it.

specialEasing?: PlainObject<string>

An object containing one or more of the CSS properties defined by the properties argument and their corresponding easing functions.

Methods

  • always(this: TElement, animation: JQuery.Animation<TElement>, jumpedToEnd: boolean): void
  • A function to be called when the animation on an element completes or stops without completing (its Promise object is either resolved or rejected).

    Parameters

    Returns void

  • complete(this: TElement): void
  • A function that is called once the animation on an element is complete.

    Parameters

    • this: TElement

    Returns void

  • done(this: TElement, animation: JQuery.Animation<TElement>, jumpedToEnd: boolean): void
  • A function to be called when the animation on an element completes (its Promise object is resolved).

    Parameters

    Returns void

  • fail(this: TElement, animation: JQuery.Animation<TElement>, jumpedToEnd: boolean): void
  • A function to be called when the animation on an element fails to complete (its Promise object is rejected).

    Parameters

    Returns void

  • progress(this: TElement, animation: JQuery.Animation<TElement>, progress: number, remainingMs: number): void
  • A function to be called after each step of the animation, only once per animated element regardless of the number of animated properties.

    Parameters

    • this: TElement
    • animation: JQuery.Animation<TElement>
    • progress: number
    • remainingMs: number

    Returns void

  • A function to call when the animation on an element begins.

    Parameters

    Returns void

  • step(this: TElement, now: number, tween: Tween<TElement>): void
  • A function to be called for each animated property of each animated element. This function provides an opportunity to modify the Tween object to change the value of the property before it is set.

    Parameters

    • this: TElement
    • now: number
    • tween: Tween<TElement>

    Returns void

Generated using TypeDoc