Skip to content

JsExecutionGlobalsConstructionOptions

Defined in: jsEngine/engine/JsExecution.ts:134

Interface for constructing JsExecutionGlobals.

Properties

component

component: Component

Defined in: jsEngine/engine/JsExecution.ts:143

Obsidian component for lifecycle management.


container?

optional container: HTMLElement

Defined in: jsEngine/engine/JsExecution.ts:151

The container element that the execution can render to. This can be undefined.


context

context: ExecutionContext & Record<string, unknown>

Defined in: jsEngine/engine/JsExecution.ts:147

The context provided. This can be undefined and extended by other properties.


engine?

optional engine: API

Defined in: jsEngine/engine/JsExecution.ts:139

Optional API instance. If not provided, the one from which the execution globals are constructed is used.