API > wxt/utils/inject-script > InjectScriptResult
Interface: InjectScriptResult
Contents
Properties
script
script:
HTMLScriptElement
The created script element. It can be used to e.g. send messages to the script in the form of custom events. The script can add an event listener for them via document.currentScript
.
Source
packages/wxt/src/utils/inject-script.ts:98
Generated using typedoc-plugin-markdown and TypeDoc