website/public/docs/v3.1.4/Reference/JavaScript/abort.php
vlw 7a8fc36ec0 feat: new website design and update to Vegvisir 3.1 (#2)
Brand new design for the website following the new design language I used for [version 2.0 of my personal website](https://codeberg.org/vlw/vlw.se/releases/tag/2.0.0).

Reviewed-on: https://codeberg.org/vegvisir/website/pulls/2
Co-authored-by: vlw <victor@vlw.se>
Co-committed-by: vlw <victor@vlw.se>
2025-03-05 11:16:54 +00:00

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>