MCPcopy Create free account
hub / github.com/TanStack/query / setEditingIndex

Method setEditingIndex

examples/lit/playground/src/edit-todo.ts:36–40  ·  view source on GitHub ↗
(editingIndex: number | null)

Source from the content-addressed store, hash-verified

34 }
35
36 private setEditingIndex(editingIndex: number | null) {
37 this.dispatchEvent(
38 new CustomEvent('set-editing-index', { detail: editingIndex }),
39 )
40 }
41
42 render() {
43 const { status, data, isFetching, failureCount, refetch } = this.todo()

Callers 1

renderMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected