Skip to content

JsExecutionParams

Parameters used to construct a JsExecution.

Extends

Properties

app

app: App

Defined in

jsEngine/engine/JsExecution.ts:95


code

code: string

The JavaScript code to execute.

Inherited from

EngineExecutionParams.code

Defined in

jsEngine/engine/Engine.ts:14


component

component: Component

Obsidian Component for lifecycle management.

Inherited from

EngineExecutionParams.component

Defined in

jsEngine/engine/Engine.ts:18


container?

optional container: HTMLElement

Optional container element to render results to.

Inherited from

EngineExecutionParams.container

Defined in

jsEngine/engine/Engine.ts:22


context?

optional context: JsExecutionContext

Optional context to provide to the JavaScript code.

Inherited from

EngineExecutionParams.context

Defined in

jsEngine/engine/Engine.ts:26


contextOverrides?

optional contextOverrides: Record<string, unknown>

Optional extra context variables to provide to the JavaScript code.

Inherited from

EngineExecutionParams.contextOverrides

Defined in

jsEngine/engine/Engine.ts:30


plugin

plugin: JsEnginePlugin

Defined in

jsEngine/engine/JsExecution.ts:96