MCPcopy Create free account
hub / github.com/TanStack/db / handleColorChange

Function handleColorChange

examples/solid/todo/src/components/TodoApp.tsx:98–101  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

96
97 const handleColorChange: JSX.CustomEventHandlersCamelCase<HTMLInputElement>[`onInput`] =
98 (e) => {
99 const newColor = e.target.value
100 setConfigValue(`backgroundColor`, newColor)
101 }
102
103 const handleSubmit: JSX.CustomEventHandlersCamelCase<HTMLFormElement>[`onSubmit`] =
104 (e) => {

Callers

nothing calls this directly

Calls 1

setConfigValueFunction · 0.70

Tested by

no test coverage detected