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

Method onInput

examples/lit/basic/src/mutation.ts:74–77  ·  view source on GitHub ↗
(event: Event)

Source from the content-addressed store, hash-verified

72 }
73
74 private onInput(event: Event): void {
75 const target = event.target as HTMLInputElement
76 this.nextTitle = target.value
77 }
78
79 private submit(): void {
80 const title = this.nextTitle.trim()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected