wip: 2025-02-16T17:41:38+0100 (1739724098)

This commit is contained in:
Victor Westerlund 2025-02-16 17:41:47 +01:00
parent 573dcb7062
commit 0049218058
33 changed files with 663 additions and 6 deletions

View file

@ -4,4 +4,4 @@
require_once VV::root("src/Consts.php");
?>
<?= VV::include(VERSION_LATEST . "PHP/VV/error"); ?>
<?= VV::include(VERSION_LATEST . "JS/EVENTS"); ?>

7
public/docs/JS/MODE.php Normal file
View file

@ -0,0 +1,7 @@
<?php
use const VVWebsite\VERSION_LATEST;
require_once VV::root("src/Consts.php");
?>
<?= VV::include(VERSION_LATEST . "JS/MODE"); ?>

View file

@ -0,0 +1,7 @@
<?php
use const VVWebsite\VERSION_LATEST;
require_once VV::root("src/Consts.php");
?>
<?= VV::include(VERSION_LATEST . "JS/POSTITION"); ?>

View file

@ -0,0 +1,7 @@
<?php
use const VVWebsite\VERSION_LATEST;
require_once VV::root("src/Consts.php");
?>
<?= VV::include(VERSION_LATEST . "JS/TARGET"); ?>

7
public/docs/JS/abort.php Normal file
View file

@ -0,0 +1,7 @@
<?php
use const VVWebsite\VERSION_LATEST;
require_once VV::root("src/Consts.php");
?>
<?= VV::include(VERSION_LATEST . "JS/abort"); ?>

View file

@ -0,0 +1,7 @@
<?php
use const VVWebsite\VERSION_LATEST;
require_once VV::root("src/Consts.php");
?>
<?= VV::include(VERSION_LATEST . "JS/bindElements"); ?>

View file

@ -0,0 +1,7 @@
<?php
use const VVWebsite\VERSION_LATEST;
require_once VV::root("src/Consts.php");
?>
<?= VV::include(VERSION_LATEST . "JS/constructor"); ?>

7
public/docs/JS/index.php Normal file
View file

@ -0,0 +1,7 @@
<?php
use const VVWebsite\VERSION_LATEST;
require_once VV::root("src/Consts.php");
?>
<?= VV::include(VERSION_LATEST . "JS/index"); ?>

View file

@ -0,0 +1,7 @@
<?php
use const VVWebsite\VERSION_LATEST;
require_once VV::root("src/Consts.php");
?>
<?= VV::include(VERSION_LATEST . "JS/navigate"); ?>

View file

@ -0,0 +1,7 @@
<?php
use const VVWebsite\VERSION_LATEST;
require_once VV::root("src/Consts.php");
?>
<?= VV::include(VERSION_LATEST . "JS/options"); ?>

View file

@ -0,0 +1,53 @@
<?= VV::include("snippets/docs/v3.1.3/shell") ?>
<main>
<?= VV::include("snippets/docs/version-select"); ?>
<section>
<h1>VV::embed()</h1>
<p>Inline the contents of any file.</p>
<p>This can be very useful for bundling SVGs, plaintext files, HTML, and more for faster page loading.</p>
</section>
<section>
<?= VV::include("elements/HTMLCodeDemoElement?id=docs/v3.1.3/PHP/VV/embed/description") ?>
</section>
<section>
<h1>Parameters</h1>
</section>
<section class="param">
<h3><code class="mtk6">string</code></h3>
<h2><code class="mtk10">$pathname</code></h2>
<p>Path to an asset to inline.</p>
</section>
<section class="param">
<h3><code class="mtk6">bool</code></h3>
<h2><code class="mtk10">$relative</code></h2>
<p>Flag which when set to:</p>
<ol>
<li class="default">
<code class="mtk6">true</code>
<p>Will make <code class="mtk10">$pathname</code> look for a file relative to <a href=""><code>root_path</code></a>.</p>
</li>
<li>
<code class="mtk6">false</code>
<p>Will make <code class="mtk10">$pathname</code> look for a file relative to the root of the whole filesystem.</p>
</li>
</ol>
</section>
<section>
<h1>Return value</h1>
</section>
<section>
<h3><code class="mtk6">string</code></h3>
<p>Returns the contents of a file passed to <code class="mtk10">$pathname</code> as a string. If a file can not be found at <code class="mtk10">$pathname</code>, an empty string is returned.</p>
</section>
<hr>
<section>
<h1>Examples</h1>
</section>
<section>
<h2>Inlining an SVG icon</h2>
<p>In this example we will be inlining an SVG icon from <code>/public/assets/icon.svg</code> directly into our page as if it were hardcoded.</p>
</section>
<section>
<?= VV::include("elements/HTMLCodeDemoElement?id=docs/v3.1.3/PHP/VV/embed/example_import") ?>
</section>
</main>

View file

@ -0,0 +1,53 @@
<?= VV::include("snippets/docs/v3.1.3/shell") ?>
<main>
<?= VV::include("snippets/docs/version-select"); ?>
<section>
<h1>VV::embed()</h1>
<p>Inline the contents of any file.</p>
<p>This can be very useful for bundling SVGs, plaintext files, HTML, and more for faster page loading.</p>
</section>
<section>
<?= VV::include("elements/HTMLCodeDemoElement?id=docs/v3.1.3/PHP/VV/embed/description") ?>
</section>
<section>
<h1>Parameters</h1>
</section>
<section class="param">
<h3><code class="mtk6">string</code></h3>
<h2><code class="mtk10">$pathname</code></h2>
<p>Path to an asset to inline.</p>
</section>
<section class="param">
<h3><code class="mtk6">bool</code></h3>
<h2><code class="mtk10">$relative</code></h2>
<p>Flag which when set to:</p>
<ol>
<li class="default">
<code class="mtk6">true</code>
<p>Will make <code class="mtk10">$pathname</code> look for a file relative to <a href=""><code>root_path</code></a>.</p>
</li>
<li>
<code class="mtk6">false</code>
<p>Will make <code class="mtk10">$pathname</code> look for a file relative to the root of the whole filesystem.</p>
</li>
</ol>
</section>
<section>
<h1>Return value</h1>
</section>
<section>
<h3><code class="mtk6">string</code></h3>
<p>Returns the contents of a file passed to <code class="mtk10">$pathname</code> as a string. If a file can not be found at <code class="mtk10">$pathname</code>, an empty string is returned.</p>
</section>
<hr>
<section>
<h1>Examples</h1>
</section>
<section>
<h2>Inlining an SVG icon</h2>
<p>In this example we will be inlining an SVG icon from <code>/public/assets/icon.svg</code> directly into our page as if it were hardcoded.</p>
</section>
<section>
<?= VV::include("elements/HTMLCodeDemoElement?id=docs/v3.1.3/PHP/VV/embed/example_import") ?>
</section>
</main>

View file

@ -0,0 +1,53 @@
<?= VV::include("snippets/docs/v3.1.3/shell") ?>
<main>
<?= VV::include("snippets/docs/version-select"); ?>
<section>
<h1>VV::embed()</h1>
<p>Inline the contents of any file.</p>
<p>This can be very useful for bundling SVGs, plaintext files, HTML, and more for faster page loading.</p>
</section>
<section>
<?= VV::include("elements/HTMLCodeDemoElement?id=docs/v3.1.3/PHP/VV/embed/description") ?>
</section>
<section>
<h1>Parameters</h1>
</section>
<section class="param">
<h3><code class="mtk6">string</code></h3>
<h2><code class="mtk10">$pathname</code></h2>
<p>Path to an asset to inline.</p>
</section>
<section class="param">
<h3><code class="mtk6">bool</code></h3>
<h2><code class="mtk10">$relative</code></h2>
<p>Flag which when set to:</p>
<ol>
<li class="default">
<code class="mtk6">true</code>
<p>Will make <code class="mtk10">$pathname</code> look for a file relative to <a href=""><code>root_path</code></a>.</p>
</li>
<li>
<code class="mtk6">false</code>
<p>Will make <code class="mtk10">$pathname</code> look for a file relative to the root of the whole filesystem.</p>
</li>
</ol>
</section>
<section>
<h1>Return value</h1>
</section>
<section>
<h3><code class="mtk6">string</code></h3>
<p>Returns the contents of a file passed to <code class="mtk10">$pathname</code> as a string. If a file can not be found at <code class="mtk10">$pathname</code>, an empty string is returned.</p>
</section>
<hr>
<section>
<h1>Examples</h1>
</section>
<section>
<h2>Inlining an SVG icon</h2>
<p>In this example we will be inlining an SVG icon from <code>/public/assets/icon.svg</code> directly into our page as if it were hardcoded.</p>
</section>
<section>
<?= VV::include("elements/HTMLCodeDemoElement?id=docs/v3.1.3/PHP/VV/embed/example_import") ?>
</section>
</main>

View file

@ -0,0 +1,53 @@
<?= VV::include("snippets/docs/v3.1.3/shell") ?>
<main>
<?= VV::include("snippets/docs/version-select"); ?>
<section>
<h1>VV::embed()</h1>
<p>Inline the contents of any file.</p>
<p>This can be very useful for bundling SVGs, plaintext files, HTML, and more for faster page loading.</p>
</section>
<section>
<?= VV::include("elements/HTMLCodeDemoElement?id=docs/v3.1.3/PHP/VV/embed/description") ?>
</section>
<section>
<h1>Parameters</h1>
</section>
<section class="param">
<h3><code class="mtk6">string</code></h3>
<h2><code class="mtk10">$pathname</code></h2>
<p>Path to an asset to inline.</p>
</section>
<section class="param">
<h3><code class="mtk6">bool</code></h3>
<h2><code class="mtk10">$relative</code></h2>
<p>Flag which when set to:</p>
<ol>
<li class="default">
<code class="mtk6">true</code>
<p>Will make <code class="mtk10">$pathname</code> look for a file relative to <a href=""><code>root_path</code></a>.</p>
</li>
<li>
<code class="mtk6">false</code>
<p>Will make <code class="mtk10">$pathname</code> look for a file relative to the root of the whole filesystem.</p>
</li>
</ol>
</section>
<section>
<h1>Return value</h1>
</section>
<section>
<h3><code class="mtk6">string</code></h3>
<p>Returns the contents of a file passed to <code class="mtk10">$pathname</code> as a string. If a file can not be found at <code class="mtk10">$pathname</code>, an empty string is returned.</p>
</section>
<hr>
<section>
<h1>Examples</h1>
</section>
<section>
<h2>Inlining an SVG icon</h2>
<p>In this example we will be inlining an SVG icon from <code>/public/assets/icon.svg</code> directly into our page as if it were hardcoded.</p>
</section>
<section>
<?= VV::include("elements/HTMLCodeDemoElement?id=docs/v3.1.3/PHP/VV/embed/example_import") ?>
</section>
</main>

View file

@ -0,0 +1,30 @@
<?= VV::include("snippets/docs/v3.1.3/shell") ?>
<main>
<?= VV::include("snippets/docs/version-select"); ?>
<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("elements/HTMLCodeDemoElement?id=docs/v3.1.3/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("elements/HTMLCodeDemoElement?id=docs/v3.1.3/JS/abort/example_abort") ?>
</section>
</main>

View file

@ -0,0 +1,53 @@
<?= VV::include("snippets/docs/v3.1.3/shell") ?>
<main>
<?= VV::include("snippets/docs/version-select"); ?>
<section>
<h1>VV::embed()</h1>
<p>Inline the contents of any file.</p>
<p>This can be very useful for bundling SVGs, plaintext files, HTML, and more for faster page loading.</p>
</section>
<section>
<?= VV::include("elements/HTMLCodeDemoElement?id=docs/v3.1.3/PHP/VV/embed/description") ?>
</section>
<section>
<h1>Parameters</h1>
</section>
<section class="param">
<h3><code class="mtk6">string</code></h3>
<h2><code class="mtk10">$pathname</code></h2>
<p>Path to an asset to inline.</p>
</section>
<section class="param">
<h3><code class="mtk6">bool</code></h3>
<h2><code class="mtk10">$relative</code></h2>
<p>Flag which when set to:</p>
<ol>
<li class="default">
<code class="mtk6">true</code>
<p>Will make <code class="mtk10">$pathname</code> look for a file relative to <a href=""><code>root_path</code></a>.</p>
</li>
<li>
<code class="mtk6">false</code>
<p>Will make <code class="mtk10">$pathname</code> look for a file relative to the root of the whole filesystem.</p>
</li>
</ol>
</section>
<section>
<h1>Return value</h1>
</section>
<section>
<h3><code class="mtk6">string</code></h3>
<p>Returns the contents of a file passed to <code class="mtk10">$pathname</code> as a string. If a file can not be found at <code class="mtk10">$pathname</code>, an empty string is returned.</p>
</section>
<hr>
<section>
<h1>Examples</h1>
</section>
<section>
<h2>Inlining an SVG icon</h2>
<p>In this example we will be inlining an SVG icon from <code>/public/assets/icon.svg</code> directly into our page as if it were hardcoded.</p>
</section>
<section>
<?= VV::include("elements/HTMLCodeDemoElement?id=docs/v3.1.3/PHP/VV/embed/example_import") ?>
</section>
</main>

View file

@ -0,0 +1,53 @@
<?= VV::include("snippets/docs/v3.1.3/shell") ?>
<main>
<?= VV::include("snippets/docs/version-select"); ?>
<section>
<h1>VV::embed()</h1>
<p>Inline the contents of any file.</p>
<p>This can be very useful for bundling SVGs, plaintext files, HTML, and more for faster page loading.</p>
</section>
<section>
<?= VV::include("elements/HTMLCodeDemoElement?id=docs/v3.1.3/PHP/VV/embed/description") ?>
</section>
<section>
<h1>Parameters</h1>
</section>
<section class="param">
<h3><code class="mtk6">string</code></h3>
<h2><code class="mtk10">$pathname</code></h2>
<p>Path to an asset to inline.</p>
</section>
<section class="param">
<h3><code class="mtk6">bool</code></h3>
<h2><code class="mtk10">$relative</code></h2>
<p>Flag which when set to:</p>
<ol>
<li class="default">
<code class="mtk6">true</code>
<p>Will make <code class="mtk10">$pathname</code> look for a file relative to <a href=""><code>root_path</code></a>.</p>
</li>
<li>
<code class="mtk6">false</code>
<p>Will make <code class="mtk10">$pathname</code> look for a file relative to the root of the whole filesystem.</p>
</li>
</ol>
</section>
<section>
<h1>Return value</h1>
</section>
<section>
<h3><code class="mtk6">string</code></h3>
<p>Returns the contents of a file passed to <code class="mtk10">$pathname</code> as a string. If a file can not be found at <code class="mtk10">$pathname</code>, an empty string is returned.</p>
</section>
<hr>
<section>
<h1>Examples</h1>
</section>
<section>
<h2>Inlining an SVG icon</h2>
<p>In this example we will be inlining an SVG icon from <code>/public/assets/icon.svg</code> directly into our page as if it were hardcoded.</p>
</section>
<section>
<?= VV::include("elements/HTMLCodeDemoElement?id=docs/v3.1.3/PHP/VV/embed/example_import") ?>
</section>
</main>

View file

@ -0,0 +1,10 @@
<?= VV::include("snippets/docs/v3.1.3/shell") ?>
<main>
<section class="md">
<container>
<h1>JavaScript Cheat Sheet</h1>
<p>Vegvisir will automatically bind <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement"><code>HTMLAnchorElement</code></a> tags and perform soft-navigation between pages on the same <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin" target="_blank">origin</a>.</p>
<p>The <a href=""><code>Navigation</code></a> lets you interact with, and expand Vegvisirs front-end behavior.</p>
</container>
</section>
</main>

View file

@ -0,0 +1,53 @@
<?= VV::include("snippets/docs/v3.1.3/shell") ?>
<main>
<?= VV::include("snippets/docs/version-select"); ?>
<section>
<h1>VV::embed()</h1>
<p>Inline the contents of any file.</p>
<p>This can be very useful for bundling SVGs, plaintext files, HTML, and more for faster page loading.</p>
</section>
<section>
<?= VV::include("elements/HTMLCodeDemoElement?id=docs/v3.1.3/PHP/VV/embed/description") ?>
</section>
<section>
<h1>Parameters</h1>
</section>
<section class="param">
<h3><code class="mtk6">string</code></h3>
<h2><code class="mtk10">$pathname</code></h2>
<p>Path to an asset to inline.</p>
</section>
<section class="param">
<h3><code class="mtk6">bool</code></h3>
<h2><code class="mtk10">$relative</code></h2>
<p>Flag which when set to:</p>
<ol>
<li class="default">
<code class="mtk6">true</code>
<p>Will make <code class="mtk10">$pathname</code> look for a file relative to <a href=""><code>root_path</code></a>.</p>
</li>
<li>
<code class="mtk6">false</code>
<p>Will make <code class="mtk10">$pathname</code> look for a file relative to the root of the whole filesystem.</p>
</li>
</ol>
</section>
<section>
<h1>Return value</h1>
</section>
<section>
<h3><code class="mtk6">string</code></h3>
<p>Returns the contents of a file passed to <code class="mtk10">$pathname</code> as a string. If a file can not be found at <code class="mtk10">$pathname</code>, an empty string is returned.</p>
</section>
<hr>
<section>
<h1>Examples</h1>
</section>
<section>
<h2>Inlining an SVG icon</h2>
<p>In this example we will be inlining an SVG icon from <code>/public/assets/icon.svg</code> directly into our page as if it were hardcoded.</p>
</section>
<section>
<?= VV::include("elements/HTMLCodeDemoElement?id=docs/v3.1.3/PHP/VV/embed/example_import") ?>
</section>
</main>

View file

@ -0,0 +1,53 @@
<?= VV::include("snippets/docs/v3.1.3/shell") ?>
<main>
<?= VV::include("snippets/docs/version-select"); ?>
<section>
<h1>VV::embed()</h1>
<p>Inline the contents of any file.</p>
<p>This can be very useful for bundling SVGs, plaintext files, HTML, and more for faster page loading.</p>
</section>
<section>
<?= VV::include("elements/HTMLCodeDemoElement?id=docs/v3.1.3/PHP/VV/embed/description") ?>
</section>
<section>
<h1>Parameters</h1>
</section>
<section class="param">
<h3><code class="mtk6">string</code></h3>
<h2><code class="mtk10">$pathname</code></h2>
<p>Path to an asset to inline.</p>
</section>
<section class="param">
<h3><code class="mtk6">bool</code></h3>
<h2><code class="mtk10">$relative</code></h2>
<p>Flag which when set to:</p>
<ol>
<li class="default">
<code class="mtk6">true</code>
<p>Will make <code class="mtk10">$pathname</code> look for a file relative to <a href=""><code>root_path</code></a>.</p>
</li>
<li>
<code class="mtk6">false</code>
<p>Will make <code class="mtk10">$pathname</code> look for a file relative to the root of the whole filesystem.</p>
</li>
</ol>
</section>
<section>
<h1>Return value</h1>
</section>
<section>
<h3><code class="mtk6">string</code></h3>
<p>Returns the contents of a file passed to <code class="mtk10">$pathname</code> as a string. If a file can not be found at <code class="mtk10">$pathname</code>, an empty string is returned.</p>
</section>
<hr>
<section>
<h1>Examples</h1>
</section>
<section>
<h2>Inlining an SVG icon</h2>
<p>In this example we will be inlining an SVG icon from <code>/public/assets/icon.svg</code> directly into our page as if it were hardcoded.</p>
</section>
<section>
<?= VV::include("elements/HTMLCodeDemoElement?id=docs/v3.1.3/PHP/VV/embed/example_import") ?>
</section>
</main>

View file

@ -0,0 +1,52 @@
<?= VV::include("snippets/docs/v3.1.3/shell") ?>
<main>
<?= VV::include("snippets/docs/version-select"); ?>
<section>
<h1>VV::include()</h1>
<p>Inject the compiled output of another Vegvisir page (or other PHP script).</p>
</section>
<section>
<?= VV::include("elements/HTMLCodeDemoElement?id=docs/v3.1.3/PHP/VV/include/description") ?>
</section>
<section>
<h1>Parameters</h1>
</section>
<section class="param">
<h3><code class="mtk6">string</code></h3>
<h2><code class="mtk10">$pathname</code></h2>
<p>Path to another Vegvisir page or other PHP file.</p>
</section>
<section class="param">
<h3><code class="mtk6">bool</code></h3>
<h2><code class="mtk10">$relative</code></h2>
<p>Flag which when set to:</p>
<ol>
<li class="default">
<code class="mtk6">true</code>
<p>Will make <code class="mtk10">$pathname</code> look for a source file relative to <a href=""><code>root_path</code></a>.</p>
</li>
<li>
<code class="mtk6">false</code>
<p>Will make <code class="mtk10">$pathname</code> look for a source file relative to the root of the whole filesystem.</p>
</li>
</ol>
</section>
<section>
<h1>Return value</h1>
</section>
<section>
<h3><code class="mtk6">string</code></h3>
<p>Returns a minified version of the included source file as a string. If a file can not be found at <code class="mtk10">$pathname</code>, an empty string is returned.</p>
</section>
<hr>
<section>
<h1>Examples</h1>
</section>
<section>
<h2>Importing a code snippet into a page</h2>
<p>In this example we will be including a PHP file that contains reusable code (a banner) from <code>/snippets/banner.php</code> into a Vegvisir page <code>/public/index.php</code>.</p>
</section>
<section>
<?= VV::include("elements/HTMLCodeDemoElement?id=docs/v3.1.3/PHP/VV/include/example_import") ?>
</section>
</main>

View file

@ -0,0 +1,36 @@
<?= VV::include("snippets/docs/v3.1.3/shell") ?>
<main>
<?= VV::include("snippets/docs/version-select"); ?>
<section>
<h1>VV::init()</h1>
<p>Initialize the Vegvisir front-end.</p>
<p>Place this as close to the bottom of your <code>body</code> tag in your <code>shell_page</code> as possible.</p>
</section>
<section>
<?= VV::include("elements/HTMLCodeDemoElement?id=docs/v3.1.3/PHP/VV/init/description") ?>
</section>
<section>
<h1>Parameters</h1>
</section>
<section class="param">
<p>This method takes no parameters.</p>
</section>
<section>
<h1>Return value</h1>
</section>
<section>
<h3><code class="mtk6">string</code></h3>
<p>Returns a script tag with the compiled and minified JavaScript required to run the Vegvisir front-end.</p>
</section>
<hr>
<section>
<h1>Examples</h1>
</section>
<section>
<h2>Initializing a Vegvisir website</h2>
<p>In this example we will initialize a single-page website with the two required files to run a bare-bones Vegvisir website: <code>/public/index.php</code> and <code>/public/shell.php</code>.</p>
</section>
<section>
<?= VV::include("elements/HTMLCodeDemoElement?id=docs/v3.1.3/PHP/VV/init/example_init") ?>
</section>
</main>

View file

@ -0,0 +1 @@
<div><div style="top:0px;height:19px;" class="view-line"><span><span class="mtk6">new</span><span class="mtk1">&nbsp;</span><span class="mtk17">Navigation</span><span class="mtk1">().</span><span class="mtk10">abort</span><span class="mtk1">&nbsp;</span><span class="mtk3">-</span><span class="mtk3">&gt;</span><span class="mtk1">&nbsp;</span><span class="mtk17">AbortController</span></span></div></div>

View file

@ -0,0 +1 @@
<div><div style="top:0px;height:19px;" class="view-line"><span><span class="mtk6">const</span><span class="mtk1">&nbsp;</span><span class="mtk19">nav</span><span class="mtk1">&nbsp;</span><span class="mtk3">=</span><span class="mtk1">&nbsp;</span><span class="mtk6">new</span><span class="mtk1">&nbsp;</span><span class="mtk10">vegvisir</span><span class="mtk1">.</span><span class="mtk17">Navigation</span><span class="mtk1">(</span><span class="mtk12">"some/page"</span><span class="mtk1">);</span></span></div><div style="top:19px;height:19px;" class="view-line"><span><span></span></span></div><div style="top:38px;height:19px;" class="view-line"><span><span class="mtk5">//&nbsp;Abort&nbsp;initialized&nbsp;navigation</span></span></div><div style="top:57px;height:19px;" class="view-line"><span><span class="mtk19">nav</span><span class="mtk1">.</span><span class="mtk10">abort</span><span class="mtk1">.</span><span class="mtk16">abort</span><span class="mtk1">();</span></span></div><div style="top:76px;height:19px;" class="view-line"><span><span></span></span></div><div style="top:95px;height:19px;" class="view-line"><span><span class="mtk5">//&nbsp;Navigate&nbsp;to&nbsp;URL&nbsp;if&nbsp;not&nbsp;aborted</span></span></div><div style="top:114px;height:19px;" class="view-line"><span><span class="mtk18">if</span><span class="mtk1">&nbsp;(</span><span class="mtk3">!</span><span class="mtk19">nav</span><span class="mtk1">.</span><span class="mtk10">abort</span><span class="mtk1">.</span><span class="mtk19">aborted</span><span class="mtk1">)&nbsp;{</span></span></div><div style="top:133px;height:19px;" class="view-line"><span><span class="mtk1">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="mtk19">nav</span><span class="mtk1">.</span><span class="mtk16">navigate</span><span class="mtk1">();</span></span></div><div style="top:152px;height:19px;" class="view-line"><span><span class="mtk1">}</span></span></div></div>

View file

@ -0,0 +1 @@
<div><div style="top:0px;height:19px;" class="view-line"><span><span class="mtk6">&lt;?php</span></span></div><div style="top:19px;height:19px;" class="view-line"><span><span></span></span></div><div style="top:38px;height:19px;" class="view-line"><span><span class="mtk3">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="mtk17">VV</span><span class="mtk3">::</span><span class="mtk16">include</span><span class="mtk3">(</span></span></div><div style="top:57px;height:19px;" class="view-line"><span><span class="mtk3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="mtk6">string</span><span class="mtk3">&nbsp;</span><span class="mtk10">$pathname</span><span class="mtk3">,</span></span></div><div style="top:76px;height:19px;" class="view-line"><span><span class="mtk3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="mtk6">bool</span><span class="mtk3">&nbsp;</span><span class="mtk10">$relative</span><span class="mtk3">&nbsp;=&nbsp;</span><span class="mtk6">true</span></span></div><div style="top:95px;height:19px;" class="view-line"><span><span class="mtk3">&nbsp;&nbsp;&nbsp;&nbsp;):&nbsp;</span><span class="mtk6">string</span></span></div></div>

View file

@ -0,0 +1 @@
<div><div style="top:0px;height:19px;" class="view-line"><span><span class="mtk14">&lt;</span><span class="mtk6">section</span><span class="mtk1">&nbsp;</span><span class="mtk10">class</span><span class="mtk1">=</span><span class="mtk12">"banner"</span><span class="mtk14">&gt;</span></span></div><div style="top:19px;height:19px;" class="view-line"><span><span class="mtk1">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="mtk14">&lt;</span><span class="mtk6">h1</span><span class="mtk14">&gt;</span><span class="mtk1">This&nbsp;snippet&nbsp;can&nbsp;be&nbsp;imported&nbsp;into&nbsp;any&nbsp;page&nbsp;with&nbsp;VV</span><span class="mtk1">::include()</span><span class="mtk14">&lt;/</span><span class="mtk6">h1</span><span class="mtk14">&gt;</span></span></div><div style="top:38px;height:19px;" class="view-line"><span><span class="mtk1">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="mtk14">&lt;</span><span class="mtk6">p</span><span class="mtk14">&gt;</span><span class="mtk1">We&nbsp;can&nbsp;also&nbsp;use&nbsp;native&nbsp;PHP&nbsp;templating&nbsp;to&nbsp;perform&nbsp;S</span><span class="mtk1">SR.</span><span class="mtk14">&lt;/</span><span class="mtk6">p</span><span class="mtk14">&gt;</span></span></div><div style="top:57px;height:19px;" class="view-line"><span><span class="mtk1">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="mtk14">&lt;</span><span class="mtk6">p</span><span class="mtk14">&gt;</span><span class="mtk1">Did&nbsp;we&nbsp;get&nbsp;a&nbsp;foo?&nbsp;</span><span class="mtk6">&lt;?=</span><span class="mtk3">&nbsp;</span><span class="mtk16">array_key_exists</span><span class="mtk3">(</span><span class="mtk12">"foo"</span><span class="mtk3">,&nbsp;</span><span class="mtk10">$_GET</span><span class="mtk3">)&nbsp;?&nbsp;</span><span class="mtk12">"yes&nbsp;we&nbsp;did"</span><span class="mtk3">&nbsp;:&nbsp;</span><span class="mtk12">"no&nbsp;we&nbsp;didn't"</span><span class="mtk3">&nbsp;</span><span class="mtk6">?</span><span class="mtk6">&gt;</span><span class="mtk1">.</span><span class="mtk14">&lt;/</span><span class="mtk6">p</span><span class="mtk14">&gt;</span></span></div><div style="top:76px;height:19px;" class="view-line"><span><span class="mtk14">&lt;/</span><span class="mtk6">section</span><span class="mtk14">&gt;</span></span></div></div>

View file

@ -0,0 +1 @@
<div><div style="top:0px;height:19px;" class="view-line"><span><span class="mtk14">&lt;</span><span class="mtk6">main</span><span class="mtk14">&gt;</span></span></div><div style="top:19px;height:19px;" class="view-line"><span><span class="mtk1">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="mtk14">&lt;</span><span class="mtk6">section</span><span class="mtk1">&nbsp;</span><span class="mtk10">class</span><span class="mtk1">=</span><span class="mtk12">"banner"</span><span class="mtk14">&gt;</span></span></div><div style="top:38px;height:19px;" class="view-line"><span><span class="mtk1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="mtk14">&lt;</span><span class="mtk6">h1</span><span class="mtk14">&gt;</span><span class="mtk1">This&nbsp;snippet&nbsp;can&nbsp;be&nbsp;imported&nbsp;into&nbsp;any&nbsp;page&nbsp;with&nbsp;VV</span><span class="mtk1">::include()</span><span class="mtk14">&lt;/</span><span class="mtk6">h1</span><span class="mtk14">&gt;</span></span></div><div style="top:57px;height:19px;" class="view-line"><span><span class="mtk1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="mtk14">&lt;</span><span class="mtk6">p</span><span class="mtk14">&gt;</span><span class="mtk1">We&nbsp;can&nbsp;also&nbsp;use&nbsp;native&nbsp;PHP&nbsp;templating&nbsp;to&nbsp;perform&nbsp;S</span><span class="mtk1">SR.</span><span class="mtk14">&lt;/</span><span class="mtk6">p</span><span class="mtk14">&gt;</span></span></div><div style="top:76px;height:19px;" class="view-line"><span><span class="mtk1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="mtk14">&lt;</span><span class="mtk6">p</span><span class="mtk14">&gt;</span><span class="mtk1">Did&nbsp;we&nbsp;get&nbsp;a&nbsp;foo?&nbsp;yes&nbsp;we&nbsp;did.</span><span class="mtk14">&lt;/</span><span class="mtk6">p</span><span class="mtk14">&gt;</span></span></div><div style="top:95px;height:19px;" class="view-line"><span><span class="mtk1">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="mtk14">&lt;/</span><span class="mtk6">section</span><span class="mtk14">&gt;</span></span></div><div style="top:114px;height:19px;" class="view-line"><span><span class="mtk1">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="mtk14">&lt;</span><span class="mtk6">section</span><span class="mtk14">&gt;</span></span></div><div style="top:133px;height:19px;" class="view-line"><span><span class="mtk1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="mtk14">&lt;</span><span class="mtk6">h1</span><span class="mtk14">&gt;</span><span class="mtk1">Hey&nbsp;psst!</span><span class="mtk14">&lt;/</span><span class="mtk6">h1</span><span class="mtk14">&gt;</span></span></div><div style="top:152px;height:19px;" class="view-line"><span><span class="mtk1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="mtk14">&lt;</span><span class="mtk6">p</span><span class="mtk14">&gt;</span><span class="mtk1">You&nbsp;can&nbsp;pass&nbsp;search&nbsp;parameters&nbsp;to&nbsp;included&nbsp;pages&nbsp;a</span><span class="mtk1">nd&nbsp;they&nbsp;will&nbsp;be&nbsp;accessible&nbsp;in&nbsp;their&nbsp;own&nbsp;scope&nbsp;unde</span><span class="mtk1">r&nbsp;the&nbsp;$_GET&nbsp;superglobal</span><span class="mtk14">&lt;/</span><span class="mtk6">p</span><span class="mtk14">&gt;</span></span></div><div style="top:171px;height:19px;" class="view-line"><span><span class="mtk1">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="mtk14">&lt;/</span><span class="mtk6">section</span><span class="mtk14">&gt;</span></span></div><div style="top:190px;height:19px;" class="view-line"><span><span class="mtk14">&lt;/</span><span class="mtk6">main</span><span class="mtk14">&gt;</span></span></div></div>

View file

@ -0,0 +1 @@
<div><div style="top:0px;height:19px;" class="view-line"><span><span class="mtk14">&lt;</span><span class="mtk6">main</span><span class="mtk14">&gt;</span></span></div><div style="top:19px;height:19px;" class="view-line"><span><span class="mtk1">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="mtk6">&lt;?=</span><span class="mtk3">&nbsp;</span><span class="mtk17">VV</span><span class="mtk3">::</span><span class="mtk16">include</span><span class="mtk3">(</span><span class="mtk12">"snippets/banner?foo=bar"</span><span class="mtk3">)&nbsp;</span><span class="mtk6">?</span><span class="mtk6">&gt;</span></span></div><div style="top:38px;height:19px;" class="view-line"><span><span class="mtk1">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="mtk14">&lt;</span><span class="mtk6">section</span><span class="mtk14">&gt;</span></span></div><div style="top:57px;height:19px;" class="view-line"><span><span class="mtk1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="mtk14">&lt;</span><span class="mtk6">h1</span><span class="mtk14">&gt;</span><span class="mtk1">Hey&nbsp;psst!</span><span class="mtk14">&lt;/</span><span class="mtk6">h1</span><span class="mtk14">&gt;</span></span></div><div style="top:76px;height:19px;" class="view-line"><span><span class="mtk1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="mtk14">&lt;</span><span class="mtk6">p</span><span class="mtk14">&gt;</span><span class="mtk1">You&nbsp;can&nbsp;pass&nbsp;search&nbsp;parameters&nbsp;to&nbsp;included&nbsp;pages&nbsp;a</span><span class="mtk1">nd&nbsp;they&nbsp;will&nbsp;be&nbsp;accessible&nbsp;in&nbsp;their&nbsp;own&nbsp;scope&nbsp;unde</span><span class="mtk1">r&nbsp;the&nbsp;$_GET&nbsp;superglobal</span><span class="mtk14">&lt;/</span><span class="mtk6">p</span><span class="mtk14">&gt;</span></span></div><div style="top:95px;height:19px;" class="view-line"><span><span class="mtk1">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="mtk14">&lt;/</span><span class="mtk6">section</span><span class="mtk14">&gt;</span></span></div><div style="top:114px;height:19px;" class="view-line"><span><span class="mtk14">&lt;/</span><span class="mtk6">main</span><span class="mtk14">&gt;</span></span></div></div>

View file

@ -0,0 +1 @@
<div><div style="top:0px;height:19px;" class="view-line"><span><span class="mtk6">&lt;?php</span></span></div><div style="top:19px;height:19px;" class="view-line"><span><span></span></span></div><div style="top:38px;height:19px;" class="view-line"><span><span class="mtk3">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="mtk17">VV</span><span class="mtk3">::</span><span class="mtk16">init</span><span class="mtk3">():&nbsp;</span><span class="mtk6">string</span></span></div></div>

View file

@ -0,0 +1 @@
<div><div style="top:0px;height:19px;" class="view-line"><span><span class="mtk14">&lt;!</span><span class="mtk6">DOCTYPE</span><span class="mtk1">&nbsp;</span><span class="mtk10">html</span><span class="mtk14">&gt;</span></span></div><div style="top:19px;height:19px;" class="view-line"><span><span class="mtk14">&lt;</span><span class="mtk6">html</span><span class="mtk1">&nbsp;</span><span class="mtk10">lang</span><span class="mtk1">=</span><span class="mtk12">"en"</span><span class="mtk14">&gt;</span></span></div><div style="top:38px;height:19px;" class="view-line"><span><span class="mtk14">&lt;</span><span class="mtk6">head</span><span class="mtk14">&gt;</span></span></div><div style="top:57px;height:19px;" class="view-line"><span><span class="mtk1">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="mtk14">&lt;</span><span class="mtk6">meta</span><span class="mtk1">&nbsp;</span><span class="mtk10">charset</span><span class="mtk1">=</span><span class="mtk12">"UTF-8"</span><span class="mtk14">&gt;</span></span></div><div style="top:76px;height:19px;" class="view-line"><span><span class="mtk1">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="mtk14">&lt;</span><span class="mtk6">meta</span><span class="mtk1">&nbsp;</span><span class="mtk10">name</span><span class="mtk1">=</span><span class="mtk12">"viewport"</span><span class="mtk1">&nbsp;</span><span class="mtk10">content</span><span class="mtk1">=</span><span class="mtk12">"width=device-width,&nbsp;initial-scale=1.0"</span><span class="mtk14">&gt;</span></span></div><div style="top:95px;height:19px;" class="view-line"><span><span class="mtk1">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="mtk14">&lt;</span><span class="mtk6">title</span><span class="mtk14">&gt;</span><span class="mtk1">Document</span><span class="mtk14">&lt;/</span><span class="mtk6">title</span><span class="mtk14">&gt;</span></span></div><div style="top:114px;height:19px;" class="view-line"><span><span class="mtk14">&lt;/</span><span class="mtk6">head</span><span class="mtk14">&gt;</span></span></div><div style="top:133px;height:19px;" class="view-line"><span><span class="mtk14">&lt;</span><span class="mtk6">body</span><span class="mtk14">&gt;</span></span></div><div style="top:152px;height:19px;" class="view-line"><span><span class="mtk1">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="mtk14">&lt;</span><span class="mtk6">vv-shell</span><span class="mtk14">&gt;</span></span></div><div style="top:171px;height:19px;" class="view-line"><span><span class="mtk1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="mtk14">&lt;</span><span class="mtk6">section</span><span class="mtk14">&gt;</span></span></div><div style="top:190px;height:19px;" class="view-line"><span><span class="mtk1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="mtk14">&lt;</span><span class="mtk6">h1</span><span class="mtk14">&gt;</span><span class="mtk1">Hey!</span><span class="mtk14">&lt;/</span><span class="mtk6">h1</span><span class="mtk14">&gt;</span></span></div><div style="top:209px;height:19px;" class="view-line"><span><span class="mtk1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="mtk14">&lt;</span><span class="mtk6">p</span><span class="mtk14">&gt;</span><span class="mtk1">This&nbsp;index.php&nbsp;file&nbsp;present&nbsp;at&nbsp;the&nbsp;root&nbsp;of&nbsp;the&nbsp;"/p</span><span class="mtk1">ublic"&nbsp;directory&nbsp;will&nbsp;be&nbsp;loaded&nbsp;as&nbsp;this&nbsp;website's&nbsp;</span><span class="mtk1">main&nbsp;landing&nbsp;page.</span><span class="mtk14">&lt;/</span><span class="mtk6">p</span><span class="mtk14">&gt;</span></span></div><div style="top:228px;height:19px;" class="view-line"><span><span class="mtk1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="mtk14">&lt;/</span><span class="mtk6">section</span><span class="mtk14">&gt;</span></span></div><div style="top:247px;height:19px;" class="view-line"><span><span class="mtk1">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="mtk14">&lt;/</span><span class="mtk6">vv-shell</span><span class="mtk14">&gt;</span></span></div><div style="top:266px;height:19px;" class="view-line"><span><span class="mtk1">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="mtk14">&lt;</span><span class="mtk6">script</span><span class="mtk14">&gt;</span><span class="mtk3">...</span><span class="mtk14">&lt;/</span><span class="mtk6">script</span><span class="mtk14">&gt;</span></span></div><div style="top:285px;height:19px;" class="view-line"><span><span class="mtk14">&lt;/</span><span class="mtk6">body</span><span class="mtk14">&gt;</span></span></div><div style="top:304px;height:19px;" class="view-line"><span><span class="mtk14">&lt;/</span><span class="mtk6">html</span><span class="mtk14">&gt;</span></span></div></div>

View file

@ -0,0 +1 @@
<div><div style="top:0px;height:19px;" class="view-line"><span><span class="mtk14">&lt;</span><span class="mtk6">section</span><span class="mtk14">&gt;</span></span></div><div style="top:19px;height:19px;" class="view-line"><span><span class="mtk1">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="mtk14">&lt;</span><span class="mtk6">h1</span><span class="mtk14">&gt;</span><span class="mtk1">Hey!</span><span class="mtk14">&lt;/</span><span class="mtk6">h1</span><span class="mtk14">&gt;</span></span></div><div style="top:38px;height:19px;" class="view-line"><span><span class="mtk1">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="mtk14">&lt;</span><span class="mtk6">p</span><span class="mtk14">&gt;</span><span class="mtk1">This&nbsp;index.php&nbsp;file&nbsp;present&nbsp;at&nbsp;the&nbsp;root&nbsp;of&nbsp;the&nbsp;"/p</span><span class="mtk1">ublic"&nbsp;directory&nbsp;will&nbsp;be&nbsp;loaded&nbsp;as&nbsp;this&nbsp;website's&nbsp;</span><span class="mtk1">main&nbsp;landing&nbsp;page.</span><span class="mtk14">&lt;/</span><span class="mtk6">p</span><span class="mtk14">&gt;</span></span></div><div style="top: 57px; height: 19px;" class="view-line"><span><span class="mtk14">&lt;/</span><span class="mtk6">section</span><span class="mtk14">&gt;</span></span></div></div>

View file

@ -0,0 +1 @@
<div><div style="top:0px;height:19px;" class="view-line"><span><span></span></span></div><div style="top:19px;height:19px;" class="view-line"><span><span class="mtk14">&lt;!</span><span class="mtk6">DOCTYPE</span><span class="mtk1">&nbsp;</span><span class="mtk10">html</span><span class="mtk14">&gt;</span></span></div><div style="top:38px;height:19px;" class="view-line"><span><span class="mtk14">&lt;</span><span class="mtk6">html</span><span class="mtk1">&nbsp;</span><span class="mtk10">lang</span><span class="mtk1">=</span><span class="mtk12">"en"</span><span class="mtk14">&gt;</span></span></div><div style="top:57px;height:19px;" class="view-line"><span><span class="mtk14">&lt;</span><span class="mtk6">head</span><span class="mtk14">&gt;</span></span></div><div style="top:76px;height:19px;" class="view-line"><span><span class="mtk1">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="mtk14">&lt;</span><span class="mtk6">meta</span><span class="mtk1">&nbsp;</span><span class="mtk10">charset</span><span class="mtk1">=</span><span class="mtk12">"UTF-8"</span><span class="mtk14">&gt;</span></span></div><div style="top:95px;height:19px;" class="view-line"><span><span class="mtk1">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="mtk14">&lt;</span><span class="mtk6">meta</span><span class="mtk1">&nbsp;</span><span class="mtk10">name</span><span class="mtk1">=</span><span class="mtk12">"viewport"</span><span class="mtk1">&nbsp;</span><span class="mtk10">content</span><span class="mtk1">=</span><span class="mtk12">"width=device-width,&nbsp;initial-scale=1.0"</span><span class="mtk14">&gt;</span></span></div><div style="top:114px;height:19px;" class="view-line"><span><span class="mtk1">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="mtk14">&lt;</span><span class="mtk6">title</span><span class="mtk14">&gt;</span><span class="mtk1">Document</span><span class="mtk14">&lt;/</span><span class="mtk6">title</span><span class="mtk14">&gt;</span></span></div><div style="top:133px;height:19px;" class="view-line"><span><span class="mtk14">&lt;/</span><span class="mtk6">head</span><span class="mtk14">&gt;</span></span></div><div style="top:152px;height:19px;" class="view-line"><span><span class="mtk14">&lt;</span><span class="mtk6">body</span><span class="mtk14">&gt;</span></span></div><div style="top:171px;height:19px;" class="view-line"><span><span class="mtk1">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="mtk6">&lt;?php</span><span class="mtk3">&nbsp;</span><span class="mtk5">//&nbsp;The&nbsp;landingpage&nbsp;"/public/index.php"&nbsp;will&nbsp;be&nbsp;loa</span><span class="mtk5">ded&nbsp;INTO&nbsp;this&nbsp;vv-shell&nbsp;element&nbsp;</span><span class="mtk6">?</span><span class="mtk6">&gt;</span></span></div><div style="top:190px;height:19px;" class="view-line"><span><span class="mtk1">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="mtk14">&lt;</span><span class="mtk6">vv-shell</span><span class="mtk14">&gt;&lt;/</span><span class="mtk6">vv-shell</span><span class="mtk14">&gt;</span></span></div><div style="top:209px;height:19px;" class="view-line"><span><span class="mtk1">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="mtk6">&lt;?=</span><span class="mtk3">&nbsp;</span><span class="mtk17">VV</span><span class="mtk3">::</span><span class="mtk16">init</span><span class="mtk3">()&nbsp;</span><span class="mtk6">?</span><span class="mtk6">&gt;</span></span></div><div style="top:228px;height:19px;" class="view-line"><span><span class="mtk14">&lt;/</span><span class="mtk6">body</span><span class="mtk14">&gt;</span></span></div><div style="top:247px;height:19px;" class="view-line"><span><span class="mtk14">&lt;/</span><span class="mtk6">html</span><span class="mtk14">&gt;</span></span></div></div>

View file

@ -38,10 +38,6 @@
<p>VV::embed()</p>
<?= VV::embed(DEFAULT_BUTTON_ICON) ?>
</button></a>
<a href="/docs/PHP/VV/error"><button class="inline sly">
<p>VV::error()</p>
<?= VV::embed(DEFAULT_BUTTON_ICON) ?>
</button></a>
<a href="/docs/PHP/VV/include"><button class="inline sly">
<p>VV::include()</p>
<?= VV::embed(DEFAULT_BUTTON_ICON) ?>
@ -50,7 +46,7 @@
<p>VV::init()</p>
<?= VV::embed(DEFAULT_BUTTON_ICON) ?>
</button></a>
<a href="/docs/PHP/VV/js"><button class="inline sly">
<a href="/docs/PHP/VV/JS"><button class="inline sly">
<p>VV::js()</p>
<?= VV::embed(DEFAULT_BUTTON_ICON) ?>
</button></a>
@ -61,5 +57,41 @@
<p>JavaScript</p>
<?= VV::embed(DEFAULT_BUTTON_ICON) ?>
</button></a>
<a href="/docs/JS/constructor"><button class="inline sly">
<p>Navigation.constructor</p>
<?= VV::embed(DEFAULT_BUTTON_ICON) ?>
</button></a>
<a href="/docs/JS/abort"><button class="inline sly">
<p>.abort</p>
<?= VV::embed(DEFAULT_BUTTON_ICON) ?>
</button></a>
<a href="/docs/JS/options"><button class="inline sly">
<p>.options</p>
<?= VV::embed(DEFAULT_BUTTON_ICON) ?>
</button></a>
<a href="/docs/JS/navigate"><button class="inline sly">
<p>.navigate()</p>
<?= VV::embed(DEFAULT_BUTTON_ICON) ?>
</button></a>
<a href="/docs/JS/MODE"><button class="inline sly">
<p>Navigation.MODE</p>
<?= VV::embed(DEFAULT_BUTTON_ICON) ?>
</button></a>
<a href="/docs/JS/TARGET"><button class="inline sly">
<p>Navigation.TARGET</p>
<?= VV::embed(DEFAULT_BUTTON_ICON) ?>
</button></a>
<a href="/docs/JS/EVENTS"><button class="inline sly">
<p>Navigation.EVENTS</p>
<?= VV::embed(DEFAULT_BUTTON_ICON) ?>
</button></a>
<a href="/docs/JS/POSITION"><button class="inline sly">
<p>Navigation.POSITION</p>
<?= VV::embed(DEFAULT_BUTTON_ICON) ?>
</button></a>
<a href="/docs/JS/bindElements"><button class="inline sly">
<p>Navigation.bindElements()</p>
<?= VV::embed(DEFAULT_BUTTON_ICON) ?>
</button></a>
</nav>
</aside>