DocumentRef
Provides access to the HTML document.
Static Member Summary
Static Public Members | ||
public static get |
The class decorators. |
|
public static get |
The constructor parameters. |
Constructor Summary
Public Constructor | ||
public |
constructor(document: HTMLDocument) Initializes a new instance of the class. |
Member Summary
Public Members | ||
public get |
The application name. |
|
public get |
The name of the token used to prevent CSRF. |
|
public get |
The token used to perform CSRF validation. |
|
public get |
A value indicating whether the current document is the 404 error handler. |
|
public get |
The language that the page is written in. |
|
public set |
Sets the language that the page is written in. |
|
public get |
nativeDocument: HTMLDocument The underlying HTML document. |
Method Summary
Public Methods | ||
public |
async appendScript(id: string, src: string, toBody: boolean): Promise Appends a JavaScript file to the document. |
Static Public Members
Public Constructors
public constructor(document: HTMLDocument) source
Initializes a new instance of the class.
Params:
Name | Type | Attribute | Description |
document | HTMLDocument | The underlying HTML document. |