Function leptos_use::use_infinite_scroll_with_options

source ยท
pub fn use_infinite_scroll_with_options<El, T, LFn, LFut>(
    el: El,
    on_load_more: LFn,
    options: UseInfiniteScrollOptions
) -> Signal<bool>
where El: Into<ElementMaybeSignal<T, Element>> + Clone + 'static, T: Into<Element> + Clone + 'static, LFn: Fn(ScrollState) -> LFut + 'static, LFut: Future<Output = ()>,
Expand description

Version of use_infinite_scroll that takes a UseInfiniteScrollOptions. See use_infinite_scroll for how to use.