effex-monorepo
    Preparing search index...

    Interface VirtualListControl

    Control interface for a virtual list, accessible via ref.

    interface VirtualListControl {
        scrollTo: (index: number, behavior?: ScrollBehavior) => Effect<void>;
        scrollToBottom: (behavior?: ScrollBehavior) => Effect<void>;
        scrollToTop: (behavior?: ScrollBehavior) => Effect<void>;
        totalItems: Readable.Readable<number>;
        visibleRange: Readable.Readable<VisibleRange>;
    }
    Index

    Properties

    scrollTo: (index: number, behavior?: ScrollBehavior) => Effect<void>

    Scroll to bring a specific item index into view

    scrollToBottom: (behavior?: ScrollBehavior) => Effect<void>

    Scroll to the bottom of the list

    scrollToTop: (behavior?: ScrollBehavior) => Effect<void>

    Scroll to the top of the list

    totalItems: Readable.Readable<number>

    Total number of items

    Currently visible range of items