React Virtual Scroller Component API

Virtual Scroller API

Explore the API reference for the React Virtual Scroller component and discover how to effectively utilize its props for customization.

On this page

CVirtualScroller

jsx
import { CVirtualScroller } from '@coreui/react-pro'
PropertyDefaultType
className-string, undefined

A string of all className you want applied to the base component.

onScroll-((currentItemIndex: number) => void), undefined

Event fires when the component has been scrolled.

visibleItems-number

Amount of visible items