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

Method onTitleInput

examples/lit/basic/src/main.ts:91–94  ·  view source on GitHub ↗
(event: Event)

Source from the content-addressed store, hash-verified

89 }
90
91 private onTitleInput(event: Event): void {
92 const target = event.target as HTMLInputElement
93 this.nextTodoTitle = target.value
94 }
95
96 private addTodo(): void {
97 const title = this.nextTodoTitle.trim()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected