Skip to content

UseIsAtBottom

katanakit-js / useIsAtBottom

function useIsAtBottom(threshold?): boolean;

Defined in: infrastructure/viewport/viewport.service.ts:142

Checks whether the page is scrolled to (or near) the bottom.

Parameter Type Default value Description
threshold? number 50 Pixel tolerance from the bottom (default: 50).

boolean

true if within threshold pixels of the bottom.