FIG-001/ INTERACTION

click to expand.

Toggle label-click expansion and watch beforeExpandChange veto decisions stream into a live event log.

  • The demo is a focused Svelte component wired to @humanspeak/svelte-json-view-lite.
  • Interactions stay local to the example so you can copy the pattern without pulling in the docs shell.
  • Viewer behavior keeps the same keyboard-ready tree semantics as the packaged component.
↩ all examples
prop · clickToExpandNodehook · beforeExpandChange mode · live running source
veto
{
    request:{
      id:"req_01HX…",
      method:"POST",
      headers:{
        content-type:"application/json",
        x-trace-id:"t-9913"
      },
      body:{
        email:"ada@example.com",
        plan:"pro"
      }
    },
    response:{
      status:201,
      headers:{
        cache-control:"no-store"
      },
      body:{
        id:42,
        createdAt:"2026-04-20T12:00:00Z"
      }
    },
    timing:{
      dnsMs:4,
      tlsMs:18,
      ttfbMs:84
    }
}
category · interaction
sheet · sheet 01 / 01
⟳ to re-run