Home > @unseenco/backstage-gsap > attachBackstagePageScroll
attachBackstagePageScroll() function
Warning: This API is now obsolete.
Import from
@unseenco/backstagefor page scroll without GSAP. This wrapper applies ScrollTrigger defaults whenconfigureBackstageGsap({ pageScroll })is used.
Signature:
typescript
export declare function attachBackstagePageScroll(sheet: ISheet, options?: AttachBackstagePageScrollOptions): () => void;Parameters
| Parameter | Type | Description |
|---|---|---|
| sheet | ISheet | |
| options | AttachBackstagePageScrollOptions |
Returns:
() => void