Interface ITransitionService

Index

Call signatures

Properties

Call signatures

(element: IAugmentedJQuery, trigger: any, options?: ITransitionServiceOptions): IPromise

Provides a consistent interface to trigger CSS 3 transitions and to be informed when they complete.

Parameters

  • element: IAugmentedJQuery

    The DOMElement that will be animated

  • trigger: any

    The thing that will cause the transition to start:

    • As a string, it represents the css class to be added to the element.
    • As an object, it represents a hash of style attributes to be applied to the element.
    • As a function, it represents a function to be called that will cause the transition to occur.
  • options?: ITransitionServiceOptions optional

    Optional settings for the transition.

Returns

IPromise

A promise that is resolved when the transition finishes.

Properties

public animationEndEventName: string

The browser specific animation event name.

public transitionEndEventName: string

The browser specific transition event name.