MCPcopy Index your code
hub / github.com/tinyplex/tinybase / handleChangeOffset

Function handleChangeOffset

src/ui-solid-dom/SortedTablePaginator.tsx:58–61  ·  view source on GitHub ↗
(offset: number)

Source from the content-addressed store, hash-verified

56 }
57 };
58 const handleChangeOffset = (offset: number) => {
59 const [currentCellId, currentDescending] = sortAndOffset();
60 setStateAndChange([currentCellId, currentDescending, offset]);
61 };
62 const paginatorComponent = createMemo(() => {
63 const resolvedPaginator = getValue(paginator);
64 const [_, __, currentOffset] = sortAndOffset();

Callers

nothing calls this directly

Calls 2

setStateAndChangeFunction · 0.70
sortAndOffsetFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…