An open API service indexing awesome lists of open source software.

https://github.com/worldsender/yew-virtualized

A yew component that renders only the on-screen part of a scrollable list
https://github.com/worldsender/yew-virtualized

hacktoberfest yew yew-components

Last synced: 4 months ago
JSON representation

A yew component that renders only the on-screen part of a scrollable list

Awesome Lists containing this project

README

        

## yew-virtualized

A `VirtualList` yew component that renders only the visible part of a scrollable list.

This component uses the [`ResizeObserver`] API to allow dynamically sized items in the list.

### Quick Example

```rust
use yew_virtualized::VirtualList;

fn items(idx: usize) -> Html {
html! { format!("Item #{idx}") }
}

#[function_component(App)]
fn app() -> Html {
html! {

}
}
```

[`ResizeObserver`]: https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver