DOCUMENT

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

查看"说明"...

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

说明

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