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

Method onTitleInput

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

Source from the content-addressed store, hash-verified

98 }
99
100 private onTitleInput(event: Event): void {
101 const target = event.target as HTMLInputElement
102 this.nextTodoTitle = target.value
103 }
104
105 private addTodo(): void {
106 const title = this.nextTodoTitle.trim()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected