@tempots/dom

HeadlessAdapter.setFromRoot property

Sets the content of the root element from a HeadlessPortal. Generally this will be the same instance that is returned by runHeadless.

Signature:

readonly setFromRoot: (root: HeadlessPortal, setPlaceholders: boolean) => void;