Skip to content

Commit

Permalink
hasUAVisualTransition
Browse files Browse the repository at this point in the history
  • Loading branch information
khushalsagar committed Aug 8, 2023
1 parent 84e7ec9 commit b267a08
Showing 1 changed file with 22 additions and 4 deletions.
26 changes: 22 additions & 4 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -91737,6 +91737,10 @@ callback <dfn callback>NavigationInterceptHandler</dfn> = Promise&lt;undefined>
navigation, or undefined if the navigation was initiated by the user or by a different
API.</p></dd>

<dt><code data-x=""><var>event</var>.<span subdfn data-x="dom-NavigateEvent-hasUAVisualTransition">hasUAVisualTransition</span></code></dt>
<dd><p>Returns true if the UA performed a visual transition for this navigation before dispatching this event.
Authors <!--non-normative-->must synchronously update the DOM to the post navigation state if this is set.</p></dd>

<dt><code data-x=""><var>event</var>.<span subdfn data-x="dom-NavigateEvent-intercept">intercept</span>({ <span subdfn data-x="dom-NavigationInterceptOptions-handler">handler</span>, <span subdfn data-x="dom-NavigationInterceptOptions-focusReset">focusReset</span>, <span subdfn data-x="dom-NavigationInterceptOptions-scroll">scroll</span> })</code></dt>
<dd>
<p>Intercepts this navigation, preventing its normal handling and instead converting it into a
Expand Down Expand Up @@ -91846,9 +91850,10 @@ callback <dfn callback>NavigationInterceptHandler</dfn> = Promise&lt;undefined>
for="NavigateEvent"><code data-x="dom-NavigateEvent-signal">signal</code></dfn>, <dfn attribute
for="NavigateEvent"><code data-x="dom-NavigateEvent-formData">formData</code></dfn>, <dfn
attribute for="NavigateEvent"><code
data-x="dom-NavigateEvent-downloadRequest">downloadRequest</code></dfn>, and <dfn attribute
for="NavigateEvent"><code data-x="dom-NavigateEvent-info">info</code></dfn> attributes must return
the values they are initialized to.</p>
data-x="dom-NavigateEvent-downloadRequest">downloadRequest</code></dfn>, <dfn attribute
for="NavigateEvent"><code data-x="dom-NavigateEvent-info">info</code></dfn>, and
<dfn attribute for="NavigateEvent"><code data-x="dom-NavigateEvent-hasUAVisualTransition">hasUAVisualTransition</code></dfn>
attributes must return the values they are initialized to.</p>

<p>The <dfn method for="NavigateEvent"><code
data-x="dom-NavigateEvent-intercept">intercept(<var>options</var>)</code></dfn> method steps
Expand Down Expand Up @@ -92372,6 +92377,11 @@ interface <dfn interface>NavigationDestination</dfn> {
tracker</span>.</p>
</li>

<li><p>Initialize <var>event</var>'s <code
data-x="dom-NavigateEvent-hasUAVisualTransition">hasUAVisualTransition</code> to
true if a visual transition, to display a cached rendered state of the <span>latest entry</span>,
was done by the user agent. Otherwise, initialize it to false.</p></li>

<li><p>Set <var>event</var>'s <span data-x="concept-NavigateEvent-abort-controller">abort
controller</span> to a <span>new</span> <code>AbortController</code> created in
<var>navigation</var>'s <span data-x="concept-relevant-realm">relevant realm</span>.</p></li>
Expand Down Expand Up @@ -92898,6 +92908,11 @@ dictionary <dfn dictionary>PopStateEventInit</dfn> : <span>EventInit</span> {
<dd><p>Returns a copy of the information that was provided to <code
data-x="dom-history-pushState">pushState()</code> or <code
data-x="dom-history-replaceState">replaceState()</code>.</p></dd>

<dt><code data-x=""><var>event</var>.<span subdfn data-x="dom-PopStateEvent-hasUAVisualTransition">hasUAVisualTransition</span></code></dt>

<dd><p>Returns true if the UA performed a visual transition for this navigation before dispatching this event.
Authors <!--non-normative-->must synchronously update the DOM to the post navigation state if this is set.</p></dd>
</dl>

<div w-nodev>
Expand Down Expand Up @@ -99600,7 +99615,10 @@ location.href = '#foo';</code></pre>
object</span>, using <code>PopStateEvent</code>, with the <code
data-x="dom-PopStateEvent-state">state</code> attribute initialized to <var>document</var>'s
<span data-x="doc-history">history object</span>'s <span
data-x="concept-history-state">state</span>.</p>
data-x="concept-history-state">state</span> and
<code data-x="dom-PopStateEvent-hasUAVisualTransition">hasUAVisualTransition</code> set to
true if a visual transition, to display a cached rendered state of the <span>latest entry</span>,
was done by the user agent.</p>

<li><p><span>Restore persisted state</span> given <var>entry</var>.</p></li>

Expand Down

0 comments on commit b267a08

Please sign in to comment.