website/public/docs/v3.1.5/Reference/JavaScript/MODE.php

29 lines
No EOL
1.9 KiB
PHP

<?= VV::include("public/docs/v3.1.5/Reference/layout") ?>
<main>
<section>
<h1>Navigation.MODE</h1>
<p>A static object of <a href="/docs/v3.1.5/Reference/JavaScript/constructor"><code class="mtk17">Navigation</code></a> that alters the injection method of the <a href="/docs/v3.1.5/Reference/JavaScript/navigate#target"><code>target</code></a> element of <a href="/docs/v3.1.5/Reference/JavaScript/navigate"><code>.navigate()</code></a></p>
</section>
<section>
<?= VV::include("snippets/HTMLCodeDemoElement/HTMLCodeDemoElement?id=docs/v3.1.5/JS/mode/description") ?>
</section>
<section>
<h1>Properties</h1>
</section>
<section class="md param">
<h2 class="default"><code class="mtk19">REPLACE</code></h2>
<p>The inner DOM of the <a href="/docs/v3.1.5/Reference/JavaScript/navigate#target"><code>target</code></a> element of <a href="/docs/v3.1.5/Reference/JavaScript/navigate"><code>.navigate()</code></a> will be <strong>replaced</strong> with the contents of <a href="/docs/v3.1.5/Reference/JavaScript/constructor"><code>href</code></a> from a <a href="/docs/v3.1.5/Reference/JavaScript/constructor"><code class="mtk17">Navigation</code></a> instance.</p>
<p>This is the default behavior.</p>
</section>
<section class="md param">
<h2><code class="mtk19">REPLACE</code></h2>
<p>The contents of <a href="/docs/v3.1.5/Reference/JavaScript/constructor"><code>href</code></a> from a <a href="/docs/v3.1.5/Reference/JavaScript/constructor"><code class="mtk17">Navigation</code></a> instance will be <strong>inserted</strong>(appended) to the end of the existing DOM of the <a href="/docs/v3.1.5/Reference/JavaScript/navigate#target"><code>target</code></a> element of <a href="/docs/v3.1.5/Reference/JavaScript/navigate"><code>.navigate()</code></a></p>
</section>
<hr>
<section>
<h1>Examples</h1>
</section>
<section>
<p>No examples available.</p>
</section>
</main>