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

Method onInput

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected