Skip to content

RevoGrid Documentation v4.21.8 / ViewPortScrollEvent

Type Alias: ViewPortScrollEvent<D>

ts
type ViewPortScrollEvent<D>: {
  coordinate: number;
  delta: number;
  dimension: D;
  outside: boolean;
};

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

Type Parameters

Type ParameterDefault type
DDimensionType

Type declaration

NameTypeDescriptionDefined in
coordinatenumberThe coordinate of the scroll event.src/types/interfaces.ts:532
deltanumberThe change in coordinate between scroll events.src/types/interfaces.ts:536
dimensionDThe dimension of the viewport being scrolled.src/types/interfaces.ts:528
outsidebooleanIndicates whether the scroll event occurred outside the viewport.src/types/interfaces.ts:540

Defined in

src/types/interfaces.ts:524