W3cubDocs

/Angular

DOCUMENT

const

A DI Token representing the main rendering context. In a browser and SSR this is the DOM Document. When using SSR, that document is created by Domino.

const DOCUMENT: InjectionToken<Document>;

© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/common/DOCUMENT