TransitionFunction class
Enumeration containing predefined transition functions.
Signature:
export declare class TransitionFunction
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
Ease |
| CubicBezier | The transition starts slowly, accelerates sharply, and then slows gradually towards the end |
EaseIn |
| CubicBezier | The transition starts slowly, and then progressively speeds up until the end, at which point it stops abruptly |
EaseInOut |
| CubicBezier | The transition starts slowly, speeds up, and then slows down towards the end |
EaseOut |
| CubicBezier | The transition starts abruptly, and then progressively slows down towards the end |
Linear |
| CubicBezier | The transition moves from the beginning to the end at a constant rate |
TransitionFunction.Ease property
The transition starts slowly, accelerates sharply, and then slows gradually towards the end
Signature:
static readonly Ease: CubicBezier;
TransitionFunction.EaseIn property
The transition starts slowly, and then progressively speeds up until the end, at which point it stops abruptly
Signature:
static readonly EaseIn: CubicBezier;
TransitionFunction.EaseInOut property
The transition starts slowly, speeds up, and then slows down towards the end
Signature:
static readonly EaseInOut: CubicBezier;
TransitionFunction.EaseOut property
The transition starts abruptly, and then progressively slows down towards the end
Signature:
static readonly EaseOut: CubicBezier;
TransitionFunction.Linear property
The transition moves from the beginning to the end at a constant rate
Signature:
static readonly Linear: CubicBezier;
Updated 8 months ago