window-core 0.1.0

Event-driven virtual window engine for large, dynamic lists.
Documentation
# window-core

`window-core` is an event-driven virtualization engine for large, dynamic lists.

It exposes a reducer-style API:

```rust
use window_core::{VirtualWindow, VirtualWindowConfig, WindowEvent};

let mut window = VirtualWindow::new(VirtualWindowConfig {
    item_count: 2_000,
    estimated_item_height: 80.0,
    overscan_px: 260.0,
    overscan_items: 8,
    sticky_bottom_threshold_px: 96.0,
    trailing_shrink_limit_items: 3,
    min_stable_overscan_viewport_factor: 0.6,
});

window.update(WindowEvent::ResizeViewport { height: 640.0 });
let update = window.update(WindowEvent::Scroll { top: 3200.0 });
println!("render {}..{}", update.range.start, update.range.end);
```

Repository: <https://github.com/RobinSrimal/dioxus-window>