Skip to content

Home > @unseenco/backstage-gsap > attachBackstagePageScroll

attachBackstagePageScroll() function

Warning: This API is now obsolete.

Import from @unseenco/backstage for page scroll without GSAP. This wrapper applies ScrollTrigger defaults when configureBackstageGsap({ pageScroll }) is used.

Signature:

typescript
export declare function attachBackstagePageScroll(sheet: ISheet, options?: AttachBackstagePageScrollOptions): () => void;

Parameters

ParameterTypeDescription
sheetISheet
optionsAttachBackstagePageScrollOptions

Returns:

() => void