This package is part of the Lit Labs family of experimental packages. See the Lit Labs page for guidance on using Labs software in production.
In the DOM shim that ships with Lit SSR, only the minimal DOM interfaces needed to define and register components are implemented. These include a few key DOM classes and a roughly functioning CustomElementRegistry.
Below lists all the properties, classes, and methods on the window object added to globalThis. The contents of window are also assigned onto globalThis. ✅ signifies item is implemented to be functionally the same as in the browser.
Property
Notes
Element
⚠️ Empty class
HTMLElement
⚠️ Partial
attributes
✅
shadowRoot
⚠️ Returns {host: this} if attachShadow() was called with {mode: 'open'}