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

Function getValueActionInspect

packages/frontend/src/inspector.tsx:385–396  ·  view source on GitHub ↗
(item: Inspector.ValueItem)

Source from the content-addressed store, hash-verified

383 const {setOpenPanel} = s.useContext(SidePanelCtx)!
384
385 function getValueActionInspect(item: Inspector.ValueItem): ValueNodeAction | undefined {
386
387 if (item.value().type !== debug.ValueType.Unknown) {
388 return {
389 icon: 'Eye',
390 title: 'Inspect',
391 onClick() {
392 ctx.output.emit(msg('ConsoleInspectValue', item.itemId))
393 },
394 }
395 }
396 }
397 function getValueActionGraph(signal: Inspector.Signal): ValueNodeAction {
398 return {
399 icon: 'Graph',

Callers 1

InspectorViewFunction · 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…