W3cubDocs

/Angular 2 TypeScript

DOCUMENT: OpaqueToken

Stable Const

Variable Export

export DOCUMENT

A DI Token representing the main rendering context. In a browser this is the DOM 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).

exported from @angular/platform-browser/index defined in @angular/platform-browser/src/dom/dom_tokens.ts

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v2.angular.io/docs/ts/latest/api/platform-browser/index/DOCUMENT-let.html