mirror of
https://codeberg.org/vegvisir/website.git
synced 2025-09-14 00:43:42 +02:00
22 lines
No EOL
860 B
PHP
22 lines
No EOL
860 B
PHP
<?= VV::include("public/docs/v3.1.5/Reference/layout") ?>
|
|
<main>
|
|
<section>
|
|
<h1>Navigation.bindElements()</h1>
|
|
<p>Static method on the <code class="mtk17">Navigation</code> class.</p>
|
|
<p>Calling this method will trigger an automatic binding of anchor tags that haven't been bound yet.</p>
|
|
<p>SSR anchor tags are automatically bound. This method should be called after you've added anchor tags dynamically with JavaScript.</p>
|
|
</section>
|
|
<section>
|
|
<?= VV::include("snippets/HTMLCodeDemoElement/HTMLCodeDemoElement?id=docs/v3.1.5/JS/bindElements/description") ?>
|
|
</section>
|
|
<hr>
|
|
<section>
|
|
<h1>Examples</h1>
|
|
</section>
|
|
<section>
|
|
<h2>Binding an anchor tag added programmatically</h2>
|
|
</section>
|
|
<section>
|
|
<?= VV::include("snippets/HTMLCodeDemoElement/HTMLCodeDemoElement?id=docs/v3.1.5/JS/bindElements/example_bind") ?>
|
|
</section>
|
|
</main>
|