Skip to content

EngineExecutionParams

Parameters for the Engine.execute method.

Extended by

Properties

code

code: string

The JavaScript code to execute.

Defined in

jsEngine/engine/Engine.ts:14


component

component: Component

Obsidian Component for lifecycle management.

Defined in

jsEngine/engine/Engine.ts:18


container?

optional container: HTMLElement

Optional container element to render results to.

Defined in

jsEngine/engine/Engine.ts:22


context?

optional context: JsExecutionContext

Optional context to provide to the JavaScript code.

Defined in

jsEngine/engine/Engine.ts:26


contextOverrides?

optional contextOverrides: Record<string, unknown>

Optional extra context variables to provide to the JavaScript code.

Defined in

jsEngine/engine/Engine.ts:30