Classcorev0.3.1
ArraySource
A source for a bounded list you can load whole. It loads the full list on every click, then slices the page via paginate, so the real total is known (a real last button, "Page X of Y"). Cache inside your loader if the load is expensive.
class ArraySource<Item, Ctx> implements PageSource<Item, Ctx>Member visibility
Filter class members by access level.
ArraySource(
load: (ctx: Ctx) => Promisable<readonly Item[]>,
opts?: { perPage?: number }
)Showing members with Protected visibility and higher.