</div></section></div></details></section></section><detailsclass="tsd-panel-group tsd-member-group tsd-accordion"open><summaryclass="tsd-accordion-summary"data-key="section-Properties"><svgwidth="20"height="20"viewBox="0 0 24 24"fill="none"aria-hidden="true"><usehref="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><sectionclass="tsd-panel tsd-member"><h3class="tsd-anchor-link"id="wakuconnection"><span>waku:connection</span><ahref="#wakuconnection"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"aria-hidden="true"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">"waku:connection"</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">CustomEvent</span><spanclass="tsd-signature-symbol"><</span><spanclass="tsd-signature-type">boolean</span><spanclass="tsd-signature-symbol">></span></div><divclass="tsd-comment tsd-typography"><p>Emitted when a connection is established or lost.</p>
</div><divclass="tsd-comment tsd-typography"><divclass="tsd-tag-example"><h4class="tsd-anchor-link"id="example">Example<ahref="#example"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"aria-hidden="true"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><codeclass="typescript"><spanclass="hl-5">waku</span><spanclass="hl-1">.</span><spanclass="hl-0">addEventListener</span><spanclass="hl-1">(</span><spanclass="hl-5">WakuEvent</span><spanclass="hl-1">.</span><spanclass="hl-5">Connection</span><spanclass="hl-1">, (</span><spanclass="hl-5">event</span><spanclass="hl-1">) </span><spanclass="hl-4">=></span><spanclass="hl-1"> {</span><br/><spanclass="hl-1"></span><spanclass="hl-5">console</span><spanclass="hl-1">.</span><spanclass="hl-0">log</span><spanclass="hl-1">(</span><spanclass="hl-5">event</span><spanclass="hl-1">.</span><spanclass="hl-5">detail</span><spanclass="hl-1">); </span><spanclass="hl-3">// true if connected, false if disconnected</span><br/>
</div></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/waku-org/js-waku/blob/788f7e62c5141d10d013c91c28d549188d165762/packages/interfaces/src/waku.ts#L43">packages/interfaces/src/waku.ts:43</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member"><h3class="tsd-anchor-link"id="wakuhealth"><span>waku:health</span><ahref="#wakuhealth"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"aria-hidden="true"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">"waku:health"</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">CustomEvent</span><spanclass="tsd-signature-symbol"><</span><ahref="../enums/_waku_interfaces.HealthStatus.html"class="tsd-signature-type tsd-kind-enum">HealthStatus</a><spanclass="tsd-signature-symbol">></span></div><divclass="tsd-comment tsd-typography"><p>Emitted when the health status changes.</p>