dioxus-virtual-window 0.1.0

Dioxus hook and bindings for virtualized scrolling with window-core.
Documentation
  • Coverage
  • 0%
    0 out of 23 items documented0 out of 4 items with examples
  • Size
  • Source code size: 60.01 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 3.65 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 1m 3s Average build duration of successful builds.
  • all releases: 1m 3s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • RobinSrimal

dioxus-virtual-window

dioxus-virtual-window provides a Dioxus hook and viewport bindings for list virtualization.

It builds on window-core and gives you a ready-to-use adapter for scroll and resize orchestration.

let virtual_window = use_virtual_window(UseVirtualWindowConfig {
    engine: VirtualWindowConfig { /* ... */ },
    scroll_sample_ms: 16,
    scroll_idle_ms: 90,
    viewport_id: "chat-viewport",
});

onmounted: move |e| virtual_window.bind_viewport.onmounted.call(e)
onresize: move |e| virtual_window.bind_viewport.onresize.call(e)
onscroll: move |e| virtual_window.bind_viewport.onscroll.call(e)

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