Skip to content

@revolist/revogrid / ViewPortScrollEvent

Type Alias: ViewPortScrollEvent

ts
type ViewPortScrollEvent: {
  coordinate: number;
  delta: number;
  dimension: DimensionType;
  outside: boolean;
};

ViewPortScrollEvent is an object that contains information about a scroll event in the viewport.

Type declaration

NameTypeDescriptionDefined in
coordinatenumberThe coordinate of the scroll event.src/types/interfaces.ts:458
deltanumberThe change in coordinate between scroll events.src/types/interfaces.ts:462
dimensionDimensionTypeThe dimension of the viewport being scrolled.src/types/interfaces.ts:454
outsidebooleanIndicates whether the scroll event occurred outside the viewport.src/types/interfaces.ts:466

Defined in

src/types/interfaces.ts:450

Revogrid is a MIT-licensed open source library made by Revolist OU.