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#

import { CVirtualScroller } from '@coreui/react-pro'
// or
import CVirtualScroller from '@coreui/react-pro/src/components/virtual-scroller/CVirtualScroller'
PropertyDefaultType
className#-string

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

onScroll#-(currentItemIndex: number) => void

Event fires when the component has been scrolled.

visibleItems#-number

Amount of visible items