Skip to content

Home > @unseenco/backstage-core > isPageScrollTrigger

isPageScrollTrigger() function

True when ST scroller and horizontal flag match the configured page scroll context.

Signature:

typescript
export declare function isPageScrollTrigger(st: unknown, context?: PageScrollContext): boolean;

Parameters

ParameterTypeDescription
stunknown
contextPageScrollContext

Returns:

boolean