Skip to content

Home > @unseenco/backstage-gsap > unregisterGsapAnimation

unregisterGsapAnimation() function ​

Removes a GSAP animation registered with registerGsapAnimation() from the shared registry. Prefer letting / clear registrations automatically.

Signature:

typescript
export declare function unregisterGsapAnimation(sheet: ISheet, options: UnregisterGsapAnimationOptions): void;

Parameters ​

ParameterTypeDescription
sheetISheet
optionsUnregisterGsapAnimationOptions

Returns:

void