@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:458 |
delta | number | The change in coordinate between scroll events. | src/types/interfaces.ts:462 |
dimension | DimensionType | The dimension of the viewport being scrolled. | src/types/interfaces.ts:454 |
outside | boolean | Indicates whether the scroll event occurred outside the viewport. | src/types/interfaces.ts:466 |