UNPKG

@webaudiomodules/sdk-parammgr

Version:

Parameter Manager SDK for WebAudioModules Plugin

64 lines 81.3 kB
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>TypedMessageEvent | Parameter Manager </title><meta name="description" content="Documentation for Parameter Manager "/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Parameter Manager </a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">Parameter Manager </a></li><li><a href="TypedMessageEvent.html">TypedMessageEvent</a></li></ul><h1>Interface TypedMessageEvent&lt;T&gt;</h1></div><div class="tsd-signature"><span class="tsd-signature-keyword">interface </span><span class="tsd-kind-interface">TypedMessageEvent</span><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="TypedMessageEvent.html#T">T</a><span class="tsd-signature-symbol">&gt;</span> <span class="tsd-signature-symbol">{ </span><br/><span>    </span><a class="tsd-kind-property" href="TypedMessageEvent.html#AT_TARGET">AT_TARGET</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">2</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="TypedMessageEvent.html#BUBBLING_PHASE">BUBBLING_PHASE</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">3</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="TypedMessageEvent.html#CAPTURING_PHASE">CAPTURING_PHASE</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">1</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="TypedMessageEvent.html#NONE">NONE</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">0</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="TypedMessageEvent.html#bubbles">bubbles</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="TypedMessageEvent.html#cancelBubble">cancelBubble</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="TypedMessageEvent.html#cancelable">cancelable</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="TypedMessageEvent.html#composed">composed</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="TypedMessageEvent.html#currentTarget">currentTarget</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">EventTarget</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="TypedMessageEvent.html#data">data</a><span class="tsd-signature-symbol">: </span><a class="tsd-signature-type tsd-kind-type-parameter" href="TypedMessageEvent.html#T">T</a><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="TypedMessageEvent.html#defaultPrevented">defaultPrevented</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="TypedMessageEvent.html#eventPhase">eventPhase</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="TypedMessageEvent.html#isTrusted">isTrusted</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="TypedMessageEvent.html#lastEventId">lastEventId</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="TypedMessageEvent.html#origin">origin</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="TypedMessageEvent.html#ports">ports</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-keyword">readonly </span><span class="tsd-signature-type">MessagePort</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="TypedMessageEvent.html#returnValue">returnValue</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="TypedMessageEvent.html#source">source</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">MessageEventSource</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="TypedMessageEvent.html#srcElement">srcElement</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">EventTarget</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="TypedMessageEvent.html#target">target</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">EventTarget</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="TypedMessageEvent.html#timeStamp">timeStamp</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="TypedMessageEvent.html#type">type</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-call-signature" href="TypedMessageEvent.html#composedPath.composedPath-1">composedPath</a><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">EventTarget</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-call-signature" href="TypedMessageEvent.html#initEvent.initEvent-1">initEvent</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">type</span>, <span class="tsd-kind-parameter">bubbles</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">cancelable</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-call-signature" href="TypedMessageEvent.html#initMessageEvent.initMessageEvent-1">initMessageEvent</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">type</span>, <span class="tsd-kind-parameter">bubbles</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">cancelable</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">origin</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">lastEventId</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">source</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">ports</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-call-signature" href="TypedMessageEvent.html#initMessageEvent.initMessageEvent-2">initMessageEvent</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">type</span>, <span class="tsd-kind-parameter">bubbles</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">cancelable</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">origin</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">lastEventId</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">source</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">ports</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-call-signature" href="TypedMessageEvent.html#preventDefault.preventDefault-1">preventDefault</a><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-call-signature" href="TypedMessageEvent.html#stopImmediatePropagation.stopImmediatePropagation-1">stopImmediatePropagation</a><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-call-signature" href="TypedMessageEvent.html#stopPropagation.stopPropagation-1">stopPropagation</a><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></div> <section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><h4><a id="T" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span> = <span class="tsd-signature-type">any</span></h4></li></ul></section> <section class="tsd-panel tsd-hierarchy"><h4>Hierarchy</h4><ul class="tsd-hierarchy"><li><span class="tsd-signature-type">MessageEvent</span><ul class="tsd-hierarchy"><li><span class="target">TypedMessageEvent</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/webaudiomodules/sdk-parammgr/blob/3ed6cac/src/TypedAudioWorklet.d.ts#L6">src/TypedAudioWorklet.d.ts:6</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="TypedMessageEvent.html#AT_TARGET" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>AT_<wbr/>TARGET</span></a> <a href="TypedMessageEvent.html#BUBBLING_PHASE" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>BUBBLING_<wbr/>PHASE</span></a> <a href="TypedMessageEvent.html#CAPTURING_PHASE" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>CAPTURING_<wbr/>PHASE</span></a> <a href="TypedMessageEvent.html#NONE" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>NONE</span></a> <a href="TypedMessageEvent.html#bubbles" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>bubbles</span></a> <a href="TypedMessageEvent.html#cancelBubble" class="tsd-index-link deprecated tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>cancel<wbr/>Bubble</span></a> <a href="TypedMessageEvent.html#cancelable" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>cancelable</span></a> <a href="TypedMessageEvent.html#composed" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>composed</span></a> <a href="TypedMessageEvent.html#currentTarget" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>current<wbr/>Target</span></a> <a href="TypedMessageEvent.html#data" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>data</span></a> <a href="TypedMessageEvent.html#defaultPrevented" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>default<wbr/>Prevented</span></a> <a href="TypedMessageEvent.html#eventPhase" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>event<wbr/>Phase</span></a> <a href="TypedMessageEvent.html#isTrusted" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>is<wbr/>Trusted</span></a> <a href="TypedMessageEvent.html#lastEventId" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>last<wbr/>Event<wbr/>Id</span></a> <a href="TypedMessageEvent.html#origin" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>origin</span></a> <a href="TypedMessageEvent.html#ports" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>ports</span></a> <a href="TypedMessageEvent.html#returnValue" class="tsd-index-link deprecated tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>return<wbr/>Value</span></a> <a href="TypedMessageEvent.html#source" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>source</span></a> <a href="TypedMessageEvent.html#srcElement" class="tsd-index-link deprecated tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>src<wbr/>Element</span></a> <a href="TypedMessageEvent.html#target" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>target</span></a> <a href="TypedMessageEvent.html#timeStamp" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>time<wbr/>Stamp</span></a> <a href="TypedMessageEvent.html#type" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>type</span></a> </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="TypedMessageEvent.html#composedPath" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>composed<wbr/>Path</span></a> <a href="TypedMessageEvent.html#initEvent" class="tsd-index-link deprecated tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>init<wbr/>Event</span></a> <a href="TypedMessageEvent.html#initMessageEvent" class="tsd-index-link deprecated tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>init<wbr/>Message<wbr/>Event</span></a> <a href="TypedMessageEvent.html#preventDefault" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>prevent<wbr/>Default</span></a> <a href="TypedMessageEvent.html#stopImmediatePropagation" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>stop<wbr/>Immediate<wbr/>Propagation</span></a> <a href="TypedMessageEvent.html#stopPropagation" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>stop<wbr/>Propagation</span></a> </div></section></div></details></section></section><section class="tsd-panel-group tsd-member-group"><h2>Properties</h2><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="AT_TARGET" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>AT_<wbr/>TARGET</span><a href="#AT_TARGET" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">AT_<wbr/>TARGET</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">2</span></div><aside class="tsd-sources"><p>Inherited from MessageEvent.AT_TARGET</p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8100</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="BUBBLING_PHASE" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>BUBBLING_<wbr/>PHASE</span><a href="#BUBBLING_PHASE" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">BUBBLING_<wbr/>PHASE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">3</span></div><aside class="tsd-sources"><p>Inherited from MessageEvent.BUBBLING_PHASE</p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8101</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="CAPTURING_PHASE" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>CAPTURING_<wbr/>PHASE</span><a href="#CAPTURING_PHASE" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">CAPTURING_<wbr/>PHASE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">1</span></div><aside class="tsd-sources"><p>Inherited from MessageEvent.CAPTURING_PHASE</p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8099</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="NONE" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>NONE</span><a href="#NONE" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">NONE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">0</span></div><aside class="tsd-sources"><p>Inherited from MessageEvent.NONE</p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8098</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="bubbles" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>bubbles</span><a href="#bubbles" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">bubbles</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>Returns true or false depending on how event was initialized. True if event goes through its target&#39;s ancestors in reverse tree order, and false otherwise.</p> <p><a href="https://developer.mozilla.org/docs/Web/API/Event/bubbles">MDN Reference</a></p> </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from MessageEvent.bubbles</p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:7995</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="cancelBubble" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="deprecated">cancel<wbr/>Bubble</span><a href="#cancelBubble" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">cancel<wbr/>Bubble</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><h4>Deprecated</h4><p><a href="https://developer.mozilla.org/docs/Web/API/Event/cancelBubble">MDN Reference</a></p> </div><aside class="tsd-sources"><p>Inherited from MessageEvent.cancelBubble</p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8001</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="cancelable" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>cancelable</span><a href="#cancelable" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">cancelable</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method.</p> <p><a href="https://developer.mozilla.org/docs/Web/API/Event/cancelable">MDN Reference</a></p> </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from MessageEvent.cancelable</p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8007</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="composed" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>composed</span><a href="#composed" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">composed</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>Returns true or false depending on how event was initialized. True if event invokes listeners past a ShadowRoot node that is the root of its target, and false otherwise.</p> <p><a href="https://developer.mozilla.org/docs/Web/API/Event/composed">MDN Reference</a></p> </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from MessageEvent.composed</p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8013</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="currentTarget" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>current<wbr/>Target</span><a href="#currentTarget" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">current<wbr/>Target</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">EventTarget</span></div><div class="tsd-comment tsd-typography"><p>Returns the object whose event listener&#39;s callback is currently being invoked.</p> <p><a href="https://developer.mozilla.org/docs/Web/API/Event/currentTarget">MDN Reference</a></p> </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from MessageEvent.currentTarget</p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8019</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="data" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>data</span><a href="#data" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">data</span><span class="tsd-signature-symbol">:</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="TypedMessageEvent.html#T">T</a></div><aside class="tsd-sources"><p>Overrides MessageEvent.data</p><ul><li>Defined in <a href="https://github.com/webaudiomodules/sdk-parammgr/blob/3ed6cac/src/TypedAudioWorklet.d.ts#L7">src/TypedAudioWorklet.d.ts:7</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="defaultPrevented" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>default<wbr/>Prevented</span><a href="#defaultPrevented" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">default<wbr/>Prevented</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise.</p> <p><a href="https://developer.mozilla.org/docs/Web/API/Event/defaultPrevented">MDN Reference</a></p> </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from MessageEvent.defaultPrevented</p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8025</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="eventPhase" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>event<wbr/>Phase</span><a href="#eventPhase" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">event<wbr/>Phase</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>Returns the event&#39;s phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE.</p> <p><a href="https://developer.mozilla.org/docs/Web/API/Event/eventPhase">MDN Reference</a></p> </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from MessageEvent.eventPhase</p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8031</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="isTrusted" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>is<wbr/>Trusted</span><a href="#isTrusted" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">is<wbr/>Trusted</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>Returns true if event was dispatched by the user agent, and false otherwise.</p> <p><a href="https://developer.mozilla.org/docs/Web/API/Event/isTrusted">MDN Reference</a></p> </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from MessageEvent.isTrusted</p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8037</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="lastEventId" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>last<wbr/>Event<wbr/>Id</span><a href="#lastEventId" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">last<wbr/>Event<wbr/>Id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>Returns the last event ID string, for server-sent events.</p> <p><a href="https://developer.mozilla.org/docs/Web/API/MessageEvent/lastEventId">MDN Reference</a></p> </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from MessageEvent.lastEventId</p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:15426</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="origin" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>origin</span><a href="#origin" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">origin</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>Returns the origin of the message, for server-sent events and cross-document messaging.</p> <p><a href="https://developer.mozilla.org/docs/Web/API/MessageEvent/origin">MDN Reference</a></p> </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from MessageEvent.origin</p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:15432</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="ports" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>ports</span><a href="#ports" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">ports</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-keyword">readonly </span><span class="tsd-signature-type">MessagePort</span><span class="tsd-signature-symbol">[]</span></div><div class="tsd-comment tsd-typography"><p>Returns the MessagePort array sent with the message, for cross-document messaging and channel messaging.</p> <p><a href="https://developer.mozilla.org/docs/Web/API/MessageEvent/ports">MDN Reference</a></p> </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from MessageEvent.ports</p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:15438</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="returnValue" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="deprecated">return<wbr/>Value</span><a href="#returnValue" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">return<wbr/>Value</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><h4>Deprecated</h4><p><a href="https://developer.mozilla.org/docs/Web/API/Event/returnValue">MDN Reference</a></p> </div><aside class="tsd-sources"><p>Inherited from MessageEvent.returnValue</p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8043</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="source" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>source</span><a href="#source" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">source</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">MessageEventSource</span></div><div class="tsd-comment tsd-typography"><p>Returns the WindowProxy of the source window, for cross-document messaging, and the MessagePort being attached, in the connect event fired at SharedWorkerGlobalScope objects.</p> <p><a href="https://developer.mozilla.org/docs/Web/API/MessageEvent/source">MDN Reference</a></p> </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from MessageEvent.source</p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:15444</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="srcElement" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span class="deprecated">src<wbr/>Element</span><a href="#srcElement" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">src<wbr/>Element</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">EventTarget</span></div><div class="tsd-comment tsd-typography"><h4>Deprecated</h4><p><a href="https://developer.mozilla.org/docs/Web/API/Event/srcElement">MDN Reference</a></p> </div><aside class="tsd-sources"><p>Inherited from MessageEvent.srcElement</p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8049</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="target" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>target</span><a href="#target" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">target</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">EventTarget</span></div><div class="tsd-comment tsd-typography"><p>Returns the object to which event is dispatched (its target).</p> <p><a href="https://developer.mozilla.org/docs/Web/API/Event/target">MDN Reference</a></p> </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from MessageEvent.target</p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8055</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="timeStamp" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>time<wbr/>Stamp</span><a href="#timeStamp" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">time<wbr/>Stamp</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>Returns the event&#39;s timestamp as the number of milliseconds measured relative to the time origin.</p> <p><a href="https://developer.mozilla.org/docs/Web/API/Event/timeStamp">MDN Reference</a></p> </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from MessageEvent.timeStamp</p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8061</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="type" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>type</span><a href="#type" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">type</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>Returns the type of event, e.g. &quot;click&quot;, &quot;hashchange&quot;, or &quot;submit&quot;.</p> <p><a href="https://developer.mozilla.org/docs/Web/API/Event/type">MDN Reference</a></p> </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from MessageEvent.type</p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8067</li></ul></aside></section></section><section class="tsd-panel-group tsd-member-group"><h2>Methods</h2><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="composedPath" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>composed<wbr/>Path</span><a href="#composedPath" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="composedPath.composedPath-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">composed<wbr/>Path</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">EventTarget</span><span class="tsd-signature-symbol">[]</span><a href="#composedPath.composedPath-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Returns the invocation target objects of event&#39;s path (objects on which listeners will be invoked), except for any nodes in shadow trees of which the shadow root&#39;s mode is &quot;closed&quot; that are not reachable from event&#39;s currentTarget.</p> <p><a href="https://developer.mozilla.org/docs/Web/API/Event/composedPath">MDN Reference</a></p> </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">EventTarget</span><span class="tsd-signature-symbol">[]</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from MessageEvent.composedPath</p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8073</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="initEvent" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="deprecated">init<wbr/>Event</span><a href="#initEvent" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="initEvent.initEvent-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">init<wbr/>Event</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">type</span>, <span class="tsd-kind-parameter">bubbles</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">cancelable</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#initEvent.initEvent-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><h5><span class="tsd-kind-parameter">type</span>: <span class="tsd-signature-type">string</span></h5></li><li><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">bubbles</span>: <span class="tsd-signature-type">boolean</span></h5></li><li><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">cancelable</span>: <span class="tsd-signature-type">boolean</span></h5></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><h4>Deprecated</h4><p><a href="https://developer.mozilla.org/docs/Web/API/Event/initEvent">MDN Reference</a></p> </div><aside class="tsd-sources"><p>Inherited from MessageEvent.initEvent</p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8079</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="initMessageEvent" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="deprecated">init<wbr/>Message<wbr/>Event</span><a href="#initMessageEvent" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="initMessageEvent.initMessageEvent-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">init<wbr/>Message<wbr/>Event</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">type</span>, <span class="tsd-kind-parameter">bubbles</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">cancelable</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">origin</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">lastEventId</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">source</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">ports</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#initMessageEvent.initMessageEvent-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><h5><span class="tsd-kind-parameter">type</span>: <span class="tsd-signature-type">string</span></h5></li><li><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">bubbles</span>: <span class="tsd-signature-type">boolean</span></h5></li><li><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">cancelable</span>: <span class="tsd-signature-type">boolean</span></h5></li><li><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type">any</span></h5></li><li><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">origin</span>: <span class="tsd-signature-type">string</span></h5></li><li><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">lastEventId</span>: <span class="tsd-signature-type">string</span></h5></li><li><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">source</span>: <span class="tsd-signature-type">MessageEventSource</span></h5></li><li><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">ports</span>: <span class="tsd-signature-type">MessagePort</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><h4>Deprecated</h4><p><a href="https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent">MDN Reference</a></p> </div><aside class="tsd-sources"><p>Inherited from MessageEvent.initMessageEvent</p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:15450</li></ul></aside></li><li class="tsd-signature tsd-anchor-link"><a id="initMessageEvent.initMessageEvent-2" class="tsd-anchor"></a><span class="tsd-kind-call-signature">init<wbr/>Message<wbr/>Event</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">type</span>, <span class="tsd-kind-parameter">bubbles</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">cancelable</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">origin</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">lastEventId</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">source</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">ports</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#initMessageEvent.initMessageEvent-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><h5><span class="tsd-kind-parameter">type</span>: <span class="tsd-signature-type">string</span></h5></li><li><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">bubbles</span>: <span class="tsd-signature-type">boolean</span></h5></li><li><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">cancelable</span>: <span class="tsd-signature-type">boolean</span></h5></li><li><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type">any</span></h5></li><li><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">origin</span>: <span class="tsd-signature-type">string</span></h5></li><li><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">lastEventId</span>: <span class="tsd-signature-type">string</span></h5></li><li><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">source</span>: <span class="tsd-signature-type">MessageEventSource</span></h5></li><li><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">ports</span>: <span class="tsd-signature-type">Iterable</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">MessagePort</span><span class="tsd-signature-symbol">&gt;</span></h5></li></ul></div><h4 class="