Liking cljdoc? Tell your friends :D
ClojureScript only.

baredom.dev.x-trace-history.x-trace-history

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.
raw docstring

register!cljs

(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.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close