Skip to content
Cloudflare Docs

rtk-virtualized-participant-list

Properties

PropertyTypeRequiredDefaultDescription
bufferedItemsCountnumber-Buffer items to render before and after the visible area
emptyListElementHTMLElement-Element to render if list is empty
itemHeightnumber-Height of each item in pixels (assumed fixed)
itemsPeer1[]-Items to be virtualized
renderItem(item: Peer1, index: number)-Function to render each item

Usage Examples

Basic Usage

<!-- component.html -->
<rtk-virtualized-participant-list></rtk-virtualized-participant-list>

With Properties

<!-- component.html -->
<rtk-virtualized-participant-list
bufferedItemsCount="42"
[emptyListElement]="htmlelement"
itemHeight="42">
</rtk-virtualized-participant-list>