{ "id": "api/common/DOCUMENT", "title": "DOCUMENT", "contents": "\n\n
\n
\n
\n \n API > @angular/common\n
\n \n
\n \n
\n

DOCUMENTlink

\n \n \n \n \n \n
\n \n \n\n
\n \n
\n

A DI Token representing the main rendering context. In a browser this is the DOM Document.

\n\n

See more...

\n
\n \n \n \n \n const DOCUMENT: InjectionToken<Document>;\n \n\n \n\n \n \n
\n

Descriptionlink

\n

Note: Document might not be available in the Application Context when Application and Rendering\nContexts are not the same (e.g. when running the application in a Web Worker).

\n\n \n
\n\n\n \n\n\n
\n
\n\n\n" }