Function: useGetRoot()
useGetRoot():
HTMLElement|null
Defined in: src/infrastructure/dom/dom.service.ts:41
Returns the root <html> element, or null outside a browser.
Returns
HTMLElement | null
The document.documentElement element.
Example
const root = useGetRoot();
root?.setAttribute("lang", "en");