Skip to content

@revolist/revogrid / ScrollCoordinateEvent

Type Alias: ScrollCoordinateEvent

ts
type ScrollCoordinateEvent: {
  coordinate: number;
  type: DimensionType;
};

Represents the event object that is emitted when scrolling occurs. The type property indicates the type of dimension (row or column) being scrolled. The coordinate property represents the current scroll position in that dimension.

Type declaration

NameTypeDescriptionDefined in
coordinatenumberRepresents the current scroll position in the specified dimension. The value is a number representing the coordinate in pixels.src/types/interfaces.ts:791
typeDimensionTypeRepresents the type of dimension being scrolled. Possible values are 'rgRow' and 'rgCol'.src/types/interfaces.ts:785

Defined in

src/types/interfaces.ts:780

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