API / wxt/utils/inject-script / InjectScriptResult
Interface: InjectScriptResult
Source: packages/wxt/src/utils/inject-script.ts:96
Properties
script
script:
HTMLScriptElement
Source: packages/wxt/src/utils/inject-script.ts:102
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.
Generated using typedoc-plugin-markdown and TypeDoc