RevoGrid Documentation v4.21.3 / 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 Parameter | Default type |
|---|---|
D | DimensionType |
Type declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
coordinate | number | The coordinate of the scroll event. | src/types/interfaces.ts:491 |
delta | number | The change in coordinate between scroll events. | src/types/interfaces.ts:495 |
dimension | D | The dimension of the viewport being scrolled. | src/types/interfaces.ts:487 |
outside | boolean | Indicates whether the scroll event occurred outside the viewport. | src/types/interfaces.ts:499 |