Skip to content

RevoGrid Documentation v4.15.3 / 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:491
deltanumberThe change in coordinate between scroll events.src/types/interfaces.ts:495
dimensionDimensionTypeThe dimension of the viewport being scrolled.src/types/interfaces.ts:487
outsidebooleanIndicates whether the scroll event occurred outside the viewport.src/types/interfaces.ts:499

Defined in

src/types/interfaces.ts:483