Dev-only floating dock for x-trace-history.
When activated (?baredom-trace-history or window.BAREDOM_TRACE_HISTORY),
register! installs the recorder hooks (via recorder/register!), defines a
<x-trace-history> custom element, and auto-mounts one to <body>. The
dock subscribes to recorder updates and renders an SVG timeline: one
lane per component instance (Y), event time on X, dots coloured by
category. Hover for tooltip, click to open the JSON detail pane.
Dev-only floating dock for x-trace-history. When activated (?baredom-trace-history or window.BAREDOM_TRACE_HISTORY), register! installs the recorder hooks (via recorder/register!), defines a `<x-trace-history>` custom element, and auto-mounts one to <body>. The dock subscribes to recorder updates and renders an SVG timeline: one lane per component instance (Y), event time on X, dots coloured by category. Hover for tooltip, click to open the JSON detail pane.
(register!)Single entry point: install recorder hooks (idempotent), register the library components used inside the dock (x-button, x-checkbox, x-search-field, x-select), register the <x-trace-history> custom element (idempotent), and auto-mount the dock if activation is on. Defers mounting to DOMContentLoaded if document.body is not yet available.
Single entry point: install recorder hooks (idempotent), register the library components used inside the dock (x-button, x-checkbox, x-search-field, x-select), register the <x-trace-history> custom element (idempotent), and auto-mount the dock if activation is on. Defers mounting to DOMContentLoaded if document.body is not yet available.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |