JsExecutionGlobalsConstructionOptions
Interface for constructing JsExecutionGlobals.
Properties
component
component:
Component
Obsidian component for lifecycle management.
Defined in
jsEngine/engine/JsExecution.ts:80
container?
optional
container:HTMLElement
The container element that the execution can render to. This can be undefined.
Defined in
jsEngine/engine/JsExecution.ts:88
context
context:
JsExecutionContext
&Record
<string
,unknown
>
The context provided. This can be undefined and extended by other properties.
Defined in
jsEngine/engine/JsExecution.ts:84
engine?
optional
engine:API
Optional API instance. If not provided, the one from which the execution globals are constructed is used.