Skip to content

Interface: MorphAnimationOptions ​

Defined in: MorphableSurface.ts:45

Properties ​

duration? ​

ts
optional duration?: number;

Defined in: MorphableSurface.ts:47

Animation duration in milliseconds (default: 500)


easing? ​

ts
optional easing?: EasingFunction;

Defined in: MorphableSurface.ts:49

Easing function (default: easeInOut)


onComplete? ​

ts
optional onComplete?: () => void;

Defined in: MorphableSurface.ts:51

Callback when animation completes

Returns ​

void


onProgress? ​

ts
optional onProgress?: (progress) => void;

Defined in: MorphableSurface.ts:53

Callback during animation with progress (0-1)

Parameters ​

progress ​

number

Returns ​

void

Released under the MIT License.