MCPcopy Create free account
hub / github.com/thetarnav/solid-devtools / onChange

Function onChange

packages/shared/src/primitives.ts:57–61  ·  view source on GitHub ↗
(new_state: boolean)

Source from the content-addressed store, hash-verified

55 })
56
57 const onChange = (new_state: boolean): void => {
58 if (!is_touch && mounted && state !== new_state) {
59 handle(state = new_state)
60 }
61 }
62
63 return {
64 onMouseEnter: () => onChange(true),

Callers 1

createHoverFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…