Skip to content

API reference ​

One page per package, and six for justdom-three. Each page says what every export does, lists its options with their defaults, and, where a part mirrors the page, ends with what it follows of the page and what it does not. The guide is the introduction; these pages are for looking things up.

PackagePage
justdom-signalSignals, derived values, effects, channels, stores and the RxJS boundary
justdom-coreElements, operators, lists, text, stylesheets, suspense and hydration
justdom-threeOverview, then rendering and sessions, pointing, grabbing and hands, DOM panels, what a panel draws and development tools
justdom-three-uiDropdown, keyboard, scrollable and the diagnostics readout
justdom-xrEmulator, offer, scene, theming, session and driver
justdom-vite-hmrThe Vite plugin and what it does to a module

The packages are JavaScript with JSDoc types, checked by tsc and shipped as source, so every signature here is also in the editor, and the .d.ts files a consumer gets are generated from the same comments. Where a page names a source file, textScale.js say, that file's header holds the reasoning behind the behaviour the page states.