mirror of
https://codeberg.org/vegvisir/website.git
synced 2025-09-14 08:53:42 +02:00
29 lines
No EOL
1,003 B
PHP
29 lines
No EOL
1,003 B
PHP
<?= VV::include("public/docs/v3.1.4/Reference/layout") ?>
|
|
<main>
|
|
<section>
|
|
<h1>.abort</h1>
|
|
<p>Abort a Vegvisir navigation in action.</p>
|
|
<p>This is an instance property of <code>vegvisir.Navigation</code>.</p>
|
|
</section>
|
|
<section>
|
|
<?= VV::include("snippets/HTMLCodeDemoElement/HTMLCodeDemoElement?id=docs/v3.1.4/JS/abort/description") ?>
|
|
</section>
|
|
<section>
|
|
<h1>Return value</h1>
|
|
</section>
|
|
<section>
|
|
<h3><code class="mtk17">AbortController</code></h3>
|
|
<p>Returns an instance of <a href="https://developer.mozilla.org/en-US/docs/Web/API/AbortController"><code class="mtk17">AbortController</code></a>.</p>
|
|
</section>
|
|
<hr>
|
|
<section>
|
|
<h1>Examples</h1>
|
|
</section>
|
|
<section>
|
|
<h2>Abort a navigation in progress</h2>
|
|
<p>In this example we will perform a simple programmatic Vegvsir navigation and abort it immediately.</p>
|
|
</section>
|
|
<section>
|
|
<?= VV::include("snippets/HTMLCodeDemoElement/HTMLCodeDemoElement?id=docs/v3.1.4/JS/abort/example_abort") ?>
|
|
</section>
|
|
</main>
|