Skip to main content

VirtualListConfig

Type Alias VirtualListConfig 

Source
pub type VirtualListConfig = EuvVirtualListConfig;
Expand description

Type alias for backward compatibility.

Aliased Type§

pub struct VirtualListConfig {
    pub id: String,
    pub total_count: usize,
    pub item_height: i32,
    pub overscan_count: usize,
}

Fields§

§id: String

The unique identifier for this virtual list container. Used to reference the scroll container element.

§total_count: usize

The total number of items in the list.

§item_height: i32

The fixed height of each item in pixels.

§overscan_count: usize

The number of extra items to render above and below the visible viewport.