MCPcopy
hub / github.com/tinyplex/tinybase / handleDock

Function handleDock

src/ui-solid-inspector/index.tsx:1017–1018  ·  view source on GitHub ↗
(event: MouseEvent & {currentTarget: HTMLImageElement})

Source from the content-addressed store, hash-verified

1015 const handleClick = () => open('https://tinybase.org', '_blank');
1016 const handleClose = () => props.s.setValue(OPEN_VALUE, false);
1017 const handleDock = (event: MouseEvent & {currentTarget: HTMLImageElement}) =>
1018 props.s.setValue(POSITION_VALUE, number(event.currentTarget.dataset.id));
1019
1020 return (
1021 <header>

Callers

nothing calls this directly

Calls 2

numberFunction · 0.90
setValueMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…