@nospamproxy/core
    Preparing search index...
    interface MemoryListModelOptions<T> {
        allItems: T[];
        beforeRefresh?: () => void;
        pageSize?: number | null;
        sort?: MemoryListSortFn<T>;
    }

    Type Parameters

    • T
    Index

    Properties

    allItems: T[]

    An array of all items.

    beforeRefresh?: () => void

    Optional callback that is called before refresh.

    pageSize?: number | null

    The page size or null for no paging. Default is 50.

    An optional function to overwrite how items are sorted in memory.