Skip to content

Overview

Virtual scroll component

Properties

PropertyAttributeDescriptionTypeDefault
dimensiondimensionScroll dimension (X - rgCol or Y - rgRow)"rgCol" | "rgRow"'rgRow'
dimensionStore (required)--DimensionsObservableMap<DimensionSettingsState>undefined
viewportStore (required)--ViewportObservableMap<ViewportState>undefined

Events

EventDescriptionType
scrollvirtualScroll eventCustomEvent<{ dimension: DimensionType; coordinate: number; delta?: number | undefined; outside?: boolean | undefined; }>

Methods

changeScroll(e: ViewPortScrollEvent) => Promise<ViewPortScrollEvent>

Update if delta exists in case we don't know current position or if it's external change

Parameters

NameTypeDescription
e{ dimension: DimensionType; coordinate: number; delta?: number | undefined; outside?: boolean | undefined; }

Returns

Type: Promise<ViewPortScrollEvent>

setScroll(e: ViewPortScrollEvent) => Promise<void>

Parameters

NameTypeDescription
e{ dimension: DimensionType; coordinate: number; delta?: number | undefined; outside?: boolean | undefined; }

Returns

Type: Promise<void>

Dependencies

Used by

Graph


Built with ❤️ by Revolist OU

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