mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-24 07:23:24 +02:00
68 lines
56 KiB
HTML
68 lines
56 KiB
HTML
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>TurnEndEvent | PokéRogue</title><link rel="icon" href="../assets/favicon.ico"/><meta name="description" content="Documentation for PokéRogue"/><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/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script><link rel="stylesheet" href="../assets/typedoc-github-style.css"/></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">PokéRogue</a><div id="tsd-toolbar-links"><a href="https://github.com/pagefaultgames/pokerogue">GitHub</a><a href="https://pagefaultgames.github.io/pokerogue/main">Switch to Main</a></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="../modules/src_events_battle-scene.html">src/events/battle-scene</a></li><li><a href="" aria-current="page">TurnEndEvent</a></li></ul><h1>Class TurnEndEvent</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>Container class for <a href="../enums/src_events_battle-scene.BattleSceneEventType.html#turn_end" class="tsd-kind-enum-member"><code>BattleSceneEventType.TURN_END</code></a> events</p>
|
|
</div></section><section class="tsd-panel tsd-hierarchy" data-refl="35147"><h4>Hierarchy</h4><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><a href="https://developer.mozilla.org/docs/Web/API/Event" class="tsd-signature-type external" target="_blank">Event</a><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><span class="tsd-hierarchy-target">TurnEndEvent</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/events/battle-scene.ts#L97">src/events/battle-scene.ts:97</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-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h5 class="tsd-index-heading uppercase">Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
|
|
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#at_target" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>AT_<wbr/>TARGET</span></a>
|
|
<a href="#bubbles" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>bubbles</span></a>
|
|
<a href="#bubbling_phase" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>BUBBLING_<wbr/>PHASE</span></a>
|
|
<a href="#cancelable" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>cancelable</span></a>
|
|
<a href="#cancelbubble" class="tsd-index-link deprecated tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>cancel<wbr/>Bubble</span></a>
|
|
<a href="#capturing_phase" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>CAPTURING_<wbr/>PHASE</span></a>
|
|
<a href="#composed" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>composed</span></a>
|
|
<a href="#currenttarget" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>current<wbr/>Target</span></a>
|
|
<a href="#defaultprevented" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>default<wbr/>Prevented</span></a>
|
|
<a href="#eventphase" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>event<wbr/>Phase</span></a>
|
|
<a href="#istrusted" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>is<wbr/>Trusted</span></a>
|
|
<a href="#none" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>NONE</span></a>
|
|
<a href="#returnvalue" class="tsd-index-link deprecated tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>return<wbr/>Value</span></a>
|
|
<a href="#srcelement" class="tsd-index-link deprecated tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>src<wbr/>Element</span></a>
|
|
<a href="#target" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>target</span></a>
|
|
<a href="#timestamp" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>time<wbr/>Stamp</span></a>
|
|
<a href="#turncount" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>turn<wbr/>Count</span></a>
|
|
<a href="#type" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>type</span></a>
|
|
<a href="#at_target-1" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>AT_<wbr/>TARGET</span></a>
|
|
<a href="#bubbling_phase-1" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>BUBBLING_<wbr/>PHASE</span></a>
|
|
<a href="#capturing_phase-1" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>CAPTURING_<wbr/>PHASE</span></a>
|
|
<a href="#none-1" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>NONE</span></a>
|
|
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="#composedpath" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>composed<wbr/>Path</span></a>
|
|
<a href="#initevent" class="tsd-index-link deprecated tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>init<wbr/>Event</span></a>
|
|
<a href="#preventdefault" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>prevent<wbr/>Default</span></a>
|
|
<a href="#stopimmediatepropagation" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>stop<wbr/>Immediate<wbr/>Propagation</span></a>
|
|
<a href="#stoppropagation" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>stop<wbr/>Propagation</span></a>
|
|
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="constructorturnendevent"><span class="tsd-signature-keyword">new</span> <span class="tsd-kind-constructor-signature">TurnEndEvent</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">turnCount</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="" class="tsd-signature-type tsd-kind-class">TurnEndEvent</a><a href="#constructorturnendevent" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">turnCount</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="" class="tsd-signature-type tsd-kind-class">TurnEndEvent</a></h4><aside class="tsd-sources"><p>Overrides Event.constructor</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/events/battle-scene.ts#L100">src/events/battle-scene.ts:100</a></li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><h3 class="tsd-anchor-link" id="at_target"><code class="tsd-tag">Readonly</code><span>AT_<wbr/>TARGET</span><a href="#at_target" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">AT_TARGET</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">2</span></div><aside class="tsd-sources"><p>Inherited from Event.AT_TARGET</p><ul><li>Defined in node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.dom.d.ts:11462</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><h3 class="tsd-anchor-link" id="bubbles"><code class="tsd-tag">Readonly</code><span>bubbles</span><a href="#bubbles" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#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>The <strong><code>bubbles</code></strong> read-only property of the Event interface indicates whether the event bubbles up through the DOM tree or not.</p>
|
|
<p><a href="https://developer.mozilla.org/docs/Web/API/Event/bubbles">MDN Reference</a></p>
|
|
</div><aside class="tsd-sources"><p>Inherited from <a href="https://developer.mozilla.org/docs/Web/API/Event/bubbles" class="external" target="_blank">Event.bubbles</a></p><ul><li>Defined in node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.dom.d.ts:11353</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><h3 class="tsd-anchor-link" id="bubbling_phase"><code class="tsd-tag">Readonly</code><span>BUBBLING_<wbr/>PHASE</span><a href="#bubbling_phase" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">BUBBLING_PHASE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">3</span></div><aside class="tsd-sources"><p>Inherited from Event.BUBBLING_PHASE</p><ul><li>Defined in node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.dom.d.ts:11463</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><h3 class="tsd-anchor-link" id="cancelable"><code class="tsd-tag">Readonly</code><span>cancelable</span><a href="#cancelable" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#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>The <strong><code>cancelable</code></strong> read-only property of the Event interface indicates whether the event can be canceled, and therefore prevented as if the event never happened.</p>
|
|
<p><a href="https://developer.mozilla.org/docs/Web/API/Event/cancelable">MDN Reference</a></p>
|
|
</div><aside class="tsd-sources"><p>Inherited from <a href="https://developer.mozilla.org/docs/Web/API/Event/cancelable" class="external" target="_blank">Event.cancelable</a></p><ul><li>Defined in node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.dom.d.ts:11366</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><h3 class="tsd-anchor-link" id="cancelbubble"><span class="deprecated">cancel<wbr/>Bubble</span><a href="#cancelbubble" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">cancelBubble</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>The <strong><code>cancelBubble</code></strong> property of the Event interface is deprecated.</p>
|
|
</div><div class="tsd-comment tsd-typography"><div class="tsd-tag-deprecated"><h4 class="tsd-anchor-link" id="deprecated">Deprecated<a href="#deprecated" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="https://developer.mozilla.org/docs/Web/API/Event/cancelBubble">MDN Reference</a></p>
|
|
</div></div><aside class="tsd-sources"><p>Inherited from <a href="https://developer.mozilla.org/docs/Web/API/Event/cancelBubble" class="external" target="_blank">Event.cancelBubble</a></p><ul><li>Defined in node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.dom.d.ts:11360</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><h3 class="tsd-anchor-link" id="capturing_phase"><code class="tsd-tag">Readonly</code><span>CAPTURING_<wbr/>PHASE</span><a href="#capturing_phase" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">CAPTURING_PHASE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">1</span></div><aside class="tsd-sources"><p>Inherited from Event.CAPTURING_PHASE</p><ul><li>Defined in node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.dom.d.ts:11461</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><h3 class="tsd-anchor-link" id="composed"><code class="tsd-tag">Readonly</code><span>composed</span><a href="#composed" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#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>The read-only <strong><code>composed</code></strong> property of the or not the event will propagate across the shadow DOM boundary into the standard DOM.</p>
|
|
<p><a href="https://developer.mozilla.org/docs/Web/API/Event/composed">MDN Reference</a></p>
|
|
</div><aside class="tsd-sources"><p>Inherited from <a href="https://developer.mozilla.org/docs/Web/API/Event/composed" class="external" target="_blank">Event.composed</a></p><ul><li>Defined in node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.dom.d.ts:11372</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><h3 class="tsd-anchor-link" id="currenttarget"><code class="tsd-tag">Readonly</code><span>current<wbr/>Target</span><a href="#currenttarget" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">currentTarget</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <a href="https://developer.mozilla.org/docs/Web/API/EventTarget" class="tsd-signature-type external" target="_blank">EventTarget</a></div><div class="tsd-comment tsd-typography"><p>The <strong><code>currentTarget</code></strong> read-only property of the Event interface identifies the element to which the event handler has been attached.</p>
|
|
<p><a href="https://developer.mozilla.org/docs/Web/API/Event/currentTarget">MDN Reference</a></p>
|
|
</div><aside class="tsd-sources"><p>Inherited from <a href="https://developer.mozilla.org/docs/Web/API/Event/currentTarget" class="external" target="_blank">Event.currentTarget</a></p><ul><li>Defined in node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.dom.d.ts:11378</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><h3 class="tsd-anchor-link" id="defaultprevented"><code class="tsd-tag">Readonly</code><span>default<wbr/>Prevented</span><a href="#defaultprevented" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">defaultPrevented</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>The <strong><code>defaultPrevented</code></strong> read-only property of the Event interface returns a boolean value indicating whether or not the call to Event.preventDefault() canceled the event.</p>
|
|
<p><a href="https://developer.mozilla.org/docs/Web/API/Event/defaultPrevented">MDN Reference</a></p>
|
|
</div><aside class="tsd-sources"><p>Inherited from <a href="https://developer.mozilla.org/docs/Web/API/Event/defaultPrevented" class="external" target="_blank">Event.defaultPrevented</a></p><ul><li>Defined in node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.dom.d.ts:11384</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><h3 class="tsd-anchor-link" id="eventphase"><code class="tsd-tag">Readonly</code><span>event<wbr/>Phase</span><a href="#eventphase" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">eventPhase</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The <strong><code>eventPhase</code></strong> read-only property of the being evaluated.</p>
|
|
<p><a href="https://developer.mozilla.org/docs/Web/API/Event/eventPhase">MDN Reference</a></p>
|
|
</div><aside class="tsd-sources"><p>Inherited from <a href="https://developer.mozilla.org/docs/Web/API/Event/eventPhase" class="external" target="_blank">Event.eventPhase</a></p><ul><li>Defined in node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.dom.d.ts:11390</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><h3 class="tsd-anchor-link" id="istrusted"><code class="tsd-tag">Readonly</code><span>is<wbr/>Trusted</span><a href="#istrusted" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">isTrusted</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>The <strong><code>isTrusted</code></strong> read-only property of the when the event was generated by the user agent (including via user actions and programmatic methods such as HTMLElement.focus()), and <code>false</code> when the event was dispatched via The only exception is the <code>click</code> event, which initializes the <code>isTrusted</code> property to <code>false</code> in user agents.</p>
|
|
<p><a href="https://developer.mozilla.org/docs/Web/API/Event/isTrusted">MDN Reference</a></p>
|
|
</div><aside class="tsd-sources"><p>Inherited from <a href="https://developer.mozilla.org/docs/Web/API/Event/isTrusted" class="external" target="_blank">Event.isTrusted</a></p><ul><li>Defined in node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.dom.d.ts:11396</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><h3 class="tsd-anchor-link" id="none"><code class="tsd-tag">Readonly</code><span>NONE</span><a href="#none" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#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 Event.NONE</p><ul><li>Defined in node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.dom.d.ts:11460</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><h3 class="tsd-anchor-link" id="returnvalue"><span class="deprecated">return<wbr/>Value</span><a href="#returnvalue" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">returnValue</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>The Event property <strong><code>returnValue</code></strong> indicates whether the default action for this event has been prevented or not.</p>
|
|
</div><div class="tsd-comment tsd-typography"><div class="tsd-tag-deprecated"><h4 class="tsd-anchor-link" id="deprecated-1">Deprecated<a href="#deprecated-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="https://developer.mozilla.org/docs/Web/API/Event/returnValue">MDN Reference</a></p>
|
|
</div></div><aside class="tsd-sources"><p>Inherited from <a href="https://developer.mozilla.org/docs/Web/API/Event/returnValue" class="external" target="_blank">Event.returnValue</a></p><ul><li>Defined in node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.dom.d.ts:11403</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><h3 class="tsd-anchor-link" id="srcelement"><code class="tsd-tag">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" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">srcElement</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <a href="https://developer.mozilla.org/docs/Web/API/EventTarget" class="tsd-signature-type external" target="_blank">EventTarget</a></div><div class="tsd-comment tsd-typography"><p>The deprecated <strong><code>Event.srcElement</code></strong> is an alias for the Event.target property.</p>
|
|
</div><div class="tsd-comment tsd-typography"><div class="tsd-tag-deprecated"><h4 class="tsd-anchor-link" id="deprecated-2">Deprecated<a href="#deprecated-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="https://developer.mozilla.org/docs/Web/API/Event/srcElement">MDN Reference</a></p>
|
|
</div></div><aside class="tsd-sources"><p>Inherited from <a href="https://developer.mozilla.org/docs/Web/API/Event/srcElement" class="external" target="_blank">Event.srcElement</a></p><ul><li>Defined in node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.dom.d.ts:11410</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><h3 class="tsd-anchor-link" id="target"><code class="tsd-tag">Readonly</code><span>target</span><a href="#target" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#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">null</span> <span class="tsd-signature-symbol">|</span> <a href="https://developer.mozilla.org/docs/Web/API/EventTarget" class="tsd-signature-type external" target="_blank">EventTarget</a></div><div class="tsd-comment tsd-typography"><p>The read-only <strong><code>target</code></strong> property of the dispatched.</p>
|
|
<p><a href="https://developer.mozilla.org/docs/Web/API/Event/target">MDN Reference</a></p>
|
|
</div><aside class="tsd-sources"><p>Inherited from <a href="https://developer.mozilla.org/docs/Web/API/Event/target" class="external" target="_blank">Event.target</a></p><ul><li>Defined in node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.dom.d.ts:11416</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><h3 class="tsd-anchor-link" id="timestamp"><code class="tsd-tag">Readonly</code><span>time<wbr/>Stamp</span><a href="#timestamp" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">timeStamp</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The <strong><code>timeStamp</code></strong> read-only property of the Event interface returns the time (in milliseconds) at which the event was created.</p>
|
|
<p><a href="https://developer.mozilla.org/docs/Web/API/Event/timeStamp">MDN Reference</a></p>
|
|
</div><aside class="tsd-sources"><p>Inherited from <a href="https://developer.mozilla.org/docs/Web/API/Event/timeStamp" class="external" target="_blank">Event.timeStamp</a></p><ul><li>Defined in node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.dom.d.ts:11422</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="turncount"><span>turn<wbr/>Count</span><a href="#turncount" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">turnCount</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The amount of turns in the current battle</p>
|
|
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/events/battle-scene.ts#L99">src/events/battle-scene.ts:99</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><h3 class="tsd-anchor-link" id="type"><code class="tsd-tag">Readonly</code><span>type</span><a href="#type" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#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>The <strong><code>type</code></strong> read-only property of the Event interface returns a string containing the event's type.</p>
|
|
<p><a href="https://developer.mozilla.org/docs/Web/API/Event/type">MDN Reference</a></p>
|
|
</div><aside class="tsd-sources"><p>Inherited from <a href="https://developer.mozilla.org/docs/Web/API/Event/type" class="external" target="_blank">Event.type</a></p><ul><li>Defined in node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.dom.d.ts:11428</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><h3 class="tsd-anchor-link" id="at_target-1"><code class="tsd-tag">Static</code> <code class="tsd-tag">Readonly</code><span>AT_<wbr/>TARGET</span><a href="#at_target-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">AT_TARGET</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">2</span></div><aside class="tsd-sources"><p>Inherited from Event.AT_TARGET</p><ul><li>Defined in node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.dom.d.ts:11471</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><h3 class="tsd-anchor-link" id="bubbling_phase-1"><code class="tsd-tag">Static</code> <code class="tsd-tag">Readonly</code><span>BUBBLING_<wbr/>PHASE</span><a href="#bubbling_phase-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">BUBBLING_PHASE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">3</span></div><aside class="tsd-sources"><p>Inherited from Event.BUBBLING_PHASE</p><ul><li>Defined in node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.dom.d.ts:11472</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><h3 class="tsd-anchor-link" id="capturing_phase-1"><code class="tsd-tag">Static</code> <code class="tsd-tag">Readonly</code><span>CAPTURING_<wbr/>PHASE</span><a href="#capturing_phase-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">CAPTURING_PHASE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">1</span></div><aside class="tsd-sources"><p>Inherited from Event.CAPTURING_PHASE</p><ul><li>Defined in node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.dom.d.ts:11470</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><h3 class="tsd-anchor-link" id="none-1"><code class="tsd-tag">Static</code> <code class="tsd-tag">Readonly</code><span>NONE</span><a href="#none-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#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 Event.NONE</p><ul><li>Defined in node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.dom.d.ts:11469</li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Methods</h2></summary><section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><h3 class="tsd-anchor-link" id="composedpath"><span>composed<wbr/>Path</span><a href="#composedpath" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature tsd-anchor-link" id="composedpath-1"><span class="tsd-kind-call-signature">composedPath</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="https://developer.mozilla.org/docs/Web/API/EventTarget" class="tsd-signature-type external" target="_blank">EventTarget</a><span class="tsd-signature-symbol">[]</span><a href="#composedpath-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>The <strong><code>composedPath()</code></strong> method of the Event interface returns the event's path which is an array of the objects on which listeners will be invoked.</p>
|
|
<p><a href="https://developer.mozilla.org/docs/Web/API/Event/composedPath">MDN Reference</a></p>
|
|
</div><h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/docs/Web/API/EventTarget" class="tsd-signature-type external" target="_blank">EventTarget</a><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources"><p>Inherited from <a href="https://developer.mozilla.org/docs/Web/API/Event/composedPath" class="external" target="_blank">Event.composedPath</a></p><ul><li>Defined in node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.dom.d.ts:11434</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><h3 class="tsd-anchor-link" id="initevent"><span class="deprecated">init<wbr/>Event</span><a href="#initevent" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature tsd-anchor-link" id="initevent-1"><span class="tsd-kind-call-signature">initEvent</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">type</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">bubbles</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">cancelable</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#initevent-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>The <strong><code>Event.initEvent()</code></strong> method is used to initialize the value of an event created using Document.createEvent().</p>
|
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">type</span>: <span class="tsd-signature-type">string</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">bubbles</span>: <span class="tsd-signature-type">boolean</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">cancelable</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-deprecated"><h4 class="tsd-anchor-link" id="deprecated-3">Deprecated<a href="#deprecated-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="https://developer.mozilla.org/docs/Web/API/Event/initEvent">MDN Reference</a></p>
|
|
</div></div><aside class="tsd-sources"><p>Inherited from <a href="https://developer.mozilla.org/docs/Web/API/Event/initEvent" class="external" target="_blank">Event.initEvent</a></p><ul><li>Defined in node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.dom.d.ts:11441</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><h3 class="tsd-anchor-link" id="preventdefault"><span>prevent<wbr/>Default</span><a href="#preventdefault" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature tsd-anchor-link" id="preventdefault-1"><span class="tsd-kind-call-signature">preventDefault</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#preventdefault-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>The <strong><code>preventDefault()</code></strong> method of the Event interface tells the user agent that if the event does not get explicitly handled, its default action should not be taken as it normally would be.</p>
|
|
<p><a href="https://developer.mozilla.org/docs/Web/API/Event/preventDefault">MDN Reference</a></p>
|
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="https://developer.mozilla.org/docs/Web/API/Event/preventDefault" class="external" target="_blank">Event.preventDefault</a></p><ul><li>Defined in node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.dom.d.ts:11447</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><h3 class="tsd-anchor-link" id="stopimmediatepropagation"><span>stop<wbr/>Immediate<wbr/>Propagation</span><a href="#stopimmediatepropagation" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature tsd-anchor-link" id="stopimmediatepropagation-1"><span class="tsd-kind-call-signature">stopImmediatePropagation</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#stopimmediatepropagation-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>The <strong><code>stopImmediatePropagation()</code></strong> method of the If several listeners are attached to the same element for the same event type, they are called in the order in which they were added.</p>
|
|
<p><a href="https://developer.mozilla.org/docs/Web/API/Event/stopImmediatePropagation">MDN Reference</a></p>
|
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="https://developer.mozilla.org/docs/Web/API/Event/stopImmediatePropagation" class="external" target="_blank">Event.stopImmediatePropagation</a></p><ul><li>Defined in node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.dom.d.ts:11453</li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><h3 class="tsd-anchor-link" id="stoppropagation"><span>stop<wbr/>Propagation</span><a href="#stoppropagation" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-is-inherited tsd-is-external"><div class="tsd-signature tsd-anchor-link" id="stoppropagation-1"><span class="tsd-kind-call-signature">stopPropagation</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#stoppropagation-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>The <strong><code>stopPropagation()</code></strong> method of the Event interface prevents further propagation of the current event in the capturing and bubbling phases.</p>
|
|
<p><a href="https://developer.mozilla.org/docs/Web/API/Event/stopPropagation">MDN Reference</a></p>
|
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="https://developer.mozilla.org/docs/Web/API/Event/stopPropagation" class="external" target="_blank">Event.stopPropagation</a></p><ul><li>Defined in node_modules/.pnpm/typescript@5.9.2/node_modules/typescript/lib/lib.dom.d.ts:11459</li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#at_target" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>AT_<wbr/>TARGET</span></a><a href="#bubbles" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>bubbles</span></a><a href="#bubbling_phase" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>BUBBLING_<wbr/>PHASE</span></a><a href="#cancelable" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>cancelable</span></a><a href="#cancelbubble" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>cancel<wbr/>Bubble</span></a><a href="#capturing_phase" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>CAPTURING_<wbr/>PHASE</span></a><a href="#composed" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>composed</span></a><a href="#currenttarget" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>current<wbr/>Target</span></a><a href="#defaultprevented" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>default<wbr/>Prevented</span></a><a href="#eventphase" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>event<wbr/>Phase</span></a><a href="#istrusted" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>is<wbr/>Trusted</span></a><a href="#none" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>NONE</span></a><a href="#returnvalue" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>return<wbr/>Value</span></a><a href="#srcelement" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>src<wbr/>Element</span></a><a href="#target" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>target</span></a><a href="#timestamp" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>time<wbr/>Stamp</span></a><a href="#turncount"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>turn<wbr/>Count</span></a><a href="#type" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>type</span></a><a href="#at_target-1" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>AT_<wbr/>TARGET</span></a><a href="#bubbling_phase-1" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>BUBBLING_<wbr/>PHASE</span></a><a href="#capturing_phase-1" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>CAPTURING_<wbr/>PHASE</span></a><a href="#none-1" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>NONE</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Methods</summary><div><a href="#composedpath" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>composed<wbr/>Path</span></a><a href="#initevent" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>init<wbr/>Event</span></a><a href="#preventdefault" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>prevent<wbr/>Default</span></a><a href="#stopimmediatepropagation" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>stop<wbr/>Immediate<wbr/>Propagation</span></a><a href="#stoppropagation" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>stop<wbr/>Propagation</span></a></div></details></div></details></div><div class="site-menu"><nav id="tsd-sidebar-links" class="tsd-navigation"><a href="https://github.com/pagefaultgames/pokerogue" class="tsd-nav-link">GitHub</a><a href="https://pagefaultgames.github.io/pokerogue/main" class="tsd-nav-link">Switch to Main</a></nav><nav class="tsd-navigation"><a href="../modules.html">PokéRogue</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a> with <a href="https://github.com/JulianWowra/typedoc-github-theme" target="_blank">typedoc-github-theme</a></p><p>Copyright <strong>Pagefault Games</strong> 2025</p></footer><div class="overlay"></div></body></html>
|