@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
Name | Type | Description | Defined in |
---|---|---|---|
coordinate | number | Represents the current scroll position in the specified dimension. The value is a number representing the coordinate in pixels. | src/types/interfaces.ts:792 |
type | DimensionType | Represents the type of dimension being scrolled. Possible values are 'rgRow' and 'rgCol'. | src/types/interfaces.ts:786 |