@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
Name | Type | Description | Defined in |
---|---|---|---|
coordinate | number | The coordinate of the scroll event. | src/types/interfaces.ts:472 |
delta | number | The change in coordinate between scroll events. | src/types/interfaces.ts:476 |
dimension | DimensionType | The dimension of the viewport being scrolled. | src/types/interfaces.ts:468 |
outside | boolean | Indicates whether the scroll event occurred outside the viewport. | src/types/interfaces.ts:480 |