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:457
deltanumberThe change in coordinate between scroll events.src/types/interfaces.ts:461
dimensionDimensionTypeThe dimension of the viewport being scrolled.src/types/interfaces.ts:453
outsidebooleanIndicates whether the scroll event occurred outside the viewport.src/types/interfaces.ts:465

Defined in

src/types/interfaces.ts:449

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