Files
angular/modules/@angular/platform-browser/src/dom/dom_tokens.ts
2016-05-01 20:51:00 -07:00

10 lines
422 B
TypeScript

import {OpaqueToken} from '@angular/core';
/**
* 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).
*/
export const DOCUMENT: OpaqueToken = /*@ts2dart_const*/ new OpaqueToken('DocumentToken');