Skip to content

Environment

Defined in: core/environment.ts:7

This class allows detection of the context in which the HTML is located.

new Environment(): Environment

Environment

static initialize(): void

Defined in: core/environment.ts:16

This method is only used internally.

void


static isExtension(): boolean

Defined in: core/environment.ts:59

return: boolean

Determines if this HTML is running as an extension plugin.

boolean


static isSourcePlugin(): boolean

Defined in: core/environment.ts:41

return: boolean

Determines if this HTML is running as a source.

boolean


static isSourceProps(): boolean

Defined in: core/environment.ts:50

return: boolean

Determines if this HTML is running within the source properties window.

boolean