-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit b604081
Showing
49 changed files
with
355 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!DOCTYPE html> | ||
<html lang="en-US" dir="ltr"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width,initial-scale=1"> | ||
<title>404 | frontend-lib</title> | ||
<meta name="description" content="Not Found"> | ||
<meta name="generator" content="VitePress v1.4.1"> | ||
<link rel="preload stylesheet" href="/frontend-lib/assets/style.D599Clpg.css" as="style"> | ||
|
||
<script type="module" src="/frontend-lib/assets/app.ByRcs2LP.js"></script> | ||
<link rel="preload" href="/frontend-lib/assets/inter-roman-latin.Di8DUHzh.woff2" as="font" type="font/woff2" crossorigin=""> | ||
<script id="check-dark-mode">(()=>{const e=localStorage.getItem("vitepress-theme-appearance")||"auto",a=window.matchMedia("(prefers-color-scheme: dark)").matches;(!e||e==="auto"?a:e==="dark")&&document.documentElement.classList.add("dark")})();</script> | ||
<script id="check-mac-os">document.documentElement.classList.toggle("mac",/Mac|iPhone|iPod|iPad/i.test(navigator.platform));</script> | ||
</head> | ||
<body> | ||
<div id="app"></div> | ||
<script>window.__VP_HASH_MAP__=JSON.parse("{\"adminservice.md\":\"BxfEG7TA\",\"analytics.md\":\"4DRgBXAz\",\"image.md\":\"D1HbDVt8\",\"index.md\":\"AQI1VQCN\",\"loadscript.md\":\"DALMIAiD\",\"test.md\":\"jyKnzfD9\",\"translation.md\":\"DKXUwMKL\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"frontend-lib\",\"description\":\"NaturalCycles/frontend-lib: Standard library for Frontend applications\",\"base\":\"/frontend-lib/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"nav\":[{\"text\":\"Github\",\"link\":\"https://github.com/NaturalCycles/frontend-lib/\"},{\"text\":\"Changelog\",\"link\":\"https://github.com/NaturalCycles/frontend-lib/releases\"}],\"sidebar\":[{\"text\":\"Intro\",\"collapsed\":false,\"items\":[{\"text\":\"Intro\",\"link\":\"/\"}]},{\"text\":\"Features\",\"collapsed\":false,\"items\":[{\"text\":\"loadScript, loadCSS\",\"link\":\"/loadScript\"},{\"text\":\"TranslationService\",\"link\":\"/translation\"},{\"text\":\"Analytics\",\"link\":\"/analytics\"},{\"text\":\"AdminService\",\"link\":\"/adminService\"},{\"text\":\"Image\",\"link\":\"/image\"}]}]},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":false}");</script> | ||
|
||
</body> | ||
</html> |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<!DOCTYPE html> | ||
<html lang="en-US" dir="ltr"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width,initial-scale=1"> | ||
<title>Analytics | frontend-lib</title> | ||
<meta name="description" content="NaturalCycles/frontend-lib: Standard library for Frontend applications"> | ||
<meta name="generator" content="VitePress v1.4.1"> | ||
<link rel="preload stylesheet" href="/frontend-lib/assets/style.D599Clpg.css" as="style"> | ||
|
||
<script type="module" src="/frontend-lib/assets/app.ByRcs2LP.js"></script> | ||
<link rel="preload" href="/frontend-lib/assets/inter-roman-latin.Di8DUHzh.woff2" as="font" type="font/woff2" crossorigin=""> | ||
<link rel="modulepreload" href="/frontend-lib/assets/chunks/theme.HipZlnJC.js"> | ||
<link rel="modulepreload" href="/frontend-lib/assets/chunks/framework.D_PpXas2.js"> | ||
<link rel="modulepreload" href="/frontend-lib/assets/analytics.md.4DRgBXAz.lean.js"> | ||
<script id="check-dark-mode">(()=>{const e=localStorage.getItem("vitepress-theme-appearance")||"auto",a=window.matchMedia("(prefers-color-scheme: dark)").matches;(!e||e==="auto"?a:e==="dark")&&document.documentElement.classList.add("dark")})();</script> | ||
<script id="check-mac-os">document.documentElement.classList.toggle("mac",/Mac|iPhone|iPod|iPad/i.test(navigator.platform));</script> | ||
</head> | ||
<body> | ||
<div id="app"><div class="Layout" data-v-5d98c3a5><!--[--><!--]--><!--[--><span tabindex="-1" data-v-0f60ec36></span><a href="#VPContent" class="VPSkipLink visually-hidden" data-v-0f60ec36> Skip to content </a><!--]--><!----><header class="VPNav" data-v-5d98c3a5 data-v-ae24b3ad><div class="VPNavBar" data-v-ae24b3ad data-v-6aa21345><div class="wrapper" data-v-6aa21345><div class="container" data-v-6aa21345><div class="title" data-v-6aa21345><div class="VPNavBarTitle has-sidebar" data-v-6aa21345 data-v-ab179fa1><a class="title" href="/frontend-lib/" data-v-ab179fa1><!--[--><!--]--><!----><span data-v-ab179fa1>frontend-lib</span><!--[--><!--]--></a></div></div><div class="content" data-v-6aa21345><div class="content-body" data-v-6aa21345><!--[--><!--]--><div class="VPNavBarSearch search" data-v-6aa21345><!----></div><nav aria-labelledby="main-nav-aria-label" class="VPNavBarMenu menu" data-v-6aa21345 data-v-dc692963><span id="main-nav-aria-label" class="visually-hidden" data-v-dc692963> Main Navigation </span><!--[--><!--[--><a class="VPLink link vp-external-link-icon VPNavBarMenuLink" href="https://github.com/NaturalCycles/frontend-lib/" target="_blank" rel="noreferrer" tabindex="0" data-v-dc692963 data-v-e56f3d57><!--[--><span data-v-e56f3d57>Github</span><!--]--></a><!--]--><!--[--><a class="VPLink link vp-external-link-icon VPNavBarMenuLink" href="https://github.com/NaturalCycles/frontend-lib/releases" target="_blank" rel="noreferrer" tabindex="0" data-v-dc692963 data-v-e56f3d57><!--[--><span data-v-e56f3d57>Changelog</span><!--]--></a><!--]--><!--]--></nav><!----><div class="VPNavBarAppearance appearance" data-v-6aa21345 data-v-6c893767><button class="VPSwitch VPSwitchAppearance" type="button" role="switch" title aria-checked="false" data-v-6c893767 data-v-5337faa4 data-v-1d5665e3><span class="check" data-v-1d5665e3><span class="icon" data-v-1d5665e3><!--[--><span class="vpi-sun sun" data-v-5337faa4></span><span class="vpi-moon moon" data-v-5337faa4></span><!--]--></span></span></button></div><!----><div class="VPFlyout VPNavBarExtra extra" data-v-6aa21345 data-v-bb2aa2f0 data-v-cf11d7a2><button type="button" class="button" aria-haspopup="true" aria-expanded="false" aria-label="extra navigation" data-v-cf11d7a2><span class="vpi-more-horizontal icon" data-v-cf11d7a2></span></button><div class="menu" data-v-cf11d7a2><div class="VPMenu" data-v-cf11d7a2 data-v-b98bc113><!----><!--[--><!--[--><!----><div class="group" data-v-bb2aa2f0><div class="item appearance" data-v-bb2aa2f0><p class="label" data-v-bb2aa2f0>Appearance</p><div class="appearance-action" data-v-bb2aa2f0><button class="VPSwitch VPSwitchAppearance" type="button" role="switch" title aria-checked="false" data-v-bb2aa2f0 data-v-5337faa4 data-v-1d5665e3><span class="check" data-v-1d5665e3><span class="icon" data-v-1d5665e3><!--[--><span class="vpi-sun sun" data-v-5337faa4></span><span class="vpi-moon moon" data-v-5337faa4></span><!--]--></span></span></button></div></div></div><!----><!--]--><!--]--></div></div></div><!--[--><!--]--><button type="button" class="VPNavBarHamburger hamburger" aria-label="mobile navigation" aria-expanded="false" aria-controls="VPNavScreen" data-v-6aa21345 data-v-e5dd9c1c><span class="container" data-v-e5dd9c1c><span class="top" data-v-e5dd9c1c></span><span class="middle" data-v-e5dd9c1c></span><span class="bottom" data-v-e5dd9c1c></span></span></button></div></div></div></div><div class="divider" data-v-6aa21345><div class="divider-line" data-v-6aa21345></div></div></div><!----></header><div class="VPLocalNav has-sidebar empty" data-v-5d98c3a5 data-v-a6f0e41e><div class="container" data-v-a6f0e41e><button class="menu" aria-expanded="false" aria-controls="VPSidebarNav" data-v-a6f0e41e><span class="vpi-align-left menu-icon" data-v-a6f0e41e></span><span class="menu-text" data-v-a6f0e41e>Menu</span></button><div class="VPLocalNavOutlineDropdown" style="--vp-vh:0px;" data-v-a6f0e41e data-v-17a5e62e><button data-v-17a5e62e>Return to top</button><!----></div></div></div><aside class="VPSidebar" data-v-5d98c3a5 data-v-319d5ca6><div class="curtain" data-v-319d5ca6></div><nav class="nav" id="VPSidebarNav" aria-labelledby="sidebar-aria-label" tabindex="-1" data-v-319d5ca6><span class="visually-hidden" id="sidebar-aria-label" data-v-319d5ca6> Sidebar Navigation </span><!--[--><!--]--><!--[--><div class="no-transition group" data-v-c40bc020><section class="VPSidebarItem level-0 collapsible" data-v-c40bc020 data-v-b7550ba0><div class="item" role="button" tabindex="0" data-v-b7550ba0><div class="indicator" data-v-b7550ba0></div><h2 class="text" data-v-b7550ba0>Intro</h2><div class="caret" role="button" aria-label="toggle section" tabindex="0" data-v-b7550ba0><span class="vpi-chevron-right caret-icon" data-v-b7550ba0></span></div></div><div class="items" data-v-b7550ba0><!--[--><div class="VPSidebarItem level-1 is-link" data-v-b7550ba0 data-v-b7550ba0><div class="item" data-v-b7550ba0><div class="indicator" data-v-b7550ba0></div><a class="VPLink link link" href="/frontend-lib/" data-v-b7550ba0><!--[--><p class="text" data-v-b7550ba0>Intro</p><!--]--></a><!----></div><!----></div><!--]--></div></section></div><div class="no-transition group" data-v-c40bc020><section class="VPSidebarItem level-0 collapsible has-active" data-v-c40bc020 data-v-b7550ba0><div class="item" role="button" tabindex="0" data-v-b7550ba0><div class="indicator" data-v-b7550ba0></div><h2 class="text" data-v-b7550ba0>Features</h2><div class="caret" role="button" aria-label="toggle section" tabindex="0" data-v-b7550ba0><span class="vpi-chevron-right caret-icon" data-v-b7550ba0></span></div></div><div class="items" data-v-b7550ba0><!--[--><div class="VPSidebarItem level-1 is-link" data-v-b7550ba0 data-v-b7550ba0><div class="item" data-v-b7550ba0><div class="indicator" data-v-b7550ba0></div><a class="VPLink link link" href="/frontend-lib/loadScript.html" data-v-b7550ba0><!--[--><p class="text" data-v-b7550ba0>loadScript, loadCSS</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-b7550ba0 data-v-b7550ba0><div class="item" data-v-b7550ba0><div class="indicator" data-v-b7550ba0></div><a class="VPLink link link" href="/frontend-lib/translation.html" data-v-b7550ba0><!--[--><p class="text" data-v-b7550ba0>TranslationService</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-b7550ba0 data-v-b7550ba0><div class="item" data-v-b7550ba0><div class="indicator" data-v-b7550ba0></div><a class="VPLink link link" href="/frontend-lib/analytics.html" data-v-b7550ba0><!--[--><p class="text" data-v-b7550ba0>Analytics</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-b7550ba0 data-v-b7550ba0><div class="item" data-v-b7550ba0><div class="indicator" data-v-b7550ba0></div><a class="VPLink link link" href="/frontend-lib/adminService.html" data-v-b7550ba0><!--[--><p class="text" data-v-b7550ba0>AdminService</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-b7550ba0 data-v-b7550ba0><div class="item" data-v-b7550ba0><div class="indicator" data-v-b7550ba0></div><a class="VPLink link link" href="/frontend-lib/image.html" data-v-b7550ba0><!--[--><p class="text" data-v-b7550ba0>Image</p><!--]--></a><!----></div><!----></div><!--]--></div></section></div><!--]--><!--[--><!--]--></nav></aside><div class="VPContent has-sidebar" id="VPContent" data-v-5d98c3a5 data-v-1428d186><div class="VPDoc has-sidebar has-aside" data-v-1428d186 data-v-39a288b8><!--[--><!--]--><div class="container" data-v-39a288b8><div class="aside" data-v-39a288b8><div class="aside-curtain" data-v-39a288b8></div><div class="aside-container" data-v-39a288b8><div class="aside-content" data-v-39a288b8><div class="VPDocAside" data-v-39a288b8 data-v-3f215769><!--[--><!--]--><!--[--><!--]--><nav aria-labelledby="doc-outline-aria-label" class="VPDocAsideOutline" data-v-3f215769 data-v-a5bbad30><div class="content" data-v-a5bbad30><div class="outline-marker" data-v-a5bbad30></div><div aria-level="2" class="outline-title" id="doc-outline-aria-label" role="heading" data-v-a5bbad30>On this page</div><ul class="VPDocOutlineItem root" data-v-a5bbad30 data-v-b933a997><!--[--><!--]--></ul></div></nav><!--[--><!--]--><div class="spacer" data-v-3f215769></div><!--[--><!--]--><!----><!--[--><!--]--><!--[--><!--]--></div></div></div></div><div class="content" data-v-39a288b8><div class="content-container" data-v-39a288b8><!--[--><!--]--><main class="main" data-v-39a288b8><div style="position:relative;" class="vp-doc _frontend-lib_analytics" data-v-39a288b8><div><h1 id="analytics" tabindex="-1">Analytics <a class="header-anchor" href="#analytics" aria-label="Permalink to "Analytics""></a></h1><h2 id="loadgtag" tabindex="-1">loadGTag <a class="header-anchor" href="#loadgtag" aria-label="Permalink to "loadGTag""></a></h2><p>Example:</p><div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">await</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> loadGTag</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'UA-634xxxx-xx'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span></span> | ||
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;">// gtag is loaded now</span></span></code></pre></div><h2 id="loadgtm" tabindex="-1">loadGTM <a class="header-anchor" href="#loadgtm" aria-label="Permalink to "loadGTM""></a></h2><p>Example:</p><div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">await</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> loadGTM</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'GTM-WJ6xxx'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span></span> | ||
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;">// GTM is loaded now</span></span></code></pre></div><h2 id="loadhotjar" tabindex="-1">loadHotjar <a class="header-anchor" href="#loadhotjar" aria-label="Permalink to "loadHotjar""></a></h2><p>Example:</p><div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">await</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> loadHotjar</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'19xxxxx'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span></span> | ||
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;">// Hotjar is loaded now</span></span></code></pre></div></div></div></main><footer class="VPDocFooter" data-v-39a288b8 data-v-e257564d><!--[--><!--]--><!----><nav class="prev-next" aria-labelledby="doc-footer-aria-label" data-v-e257564d><span class="visually-hidden" id="doc-footer-aria-label" data-v-e257564d>Pager</span><div class="pager" data-v-e257564d><a class="VPLink link pager-link prev" href="/frontend-lib/translation.html" data-v-e257564d><!--[--><span class="desc" data-v-e257564d>Previous page</span><span class="title" data-v-e257564d>TranslationService</span><!--]--></a></div><div class="pager" data-v-e257564d><a class="VPLink link pager-link next" href="/frontend-lib/adminService.html" data-v-e257564d><!--[--><span class="desc" data-v-e257564d>Next page</span><span class="title" data-v-e257564d>AdminService</span><!--]--></a></div></nav></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><!----><!--[--><!--]--></div></div> | ||
<script>window.__VP_HASH_MAP__=JSON.parse("{\"adminservice.md\":\"BxfEG7TA\",\"analytics.md\":\"4DRgBXAz\",\"image.md\":\"D1HbDVt8\",\"index.md\":\"AQI1VQCN\",\"loadscript.md\":\"DALMIAiD\",\"test.md\":\"jyKnzfD9\",\"translation.md\":\"DKXUwMKL\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"frontend-lib\",\"description\":\"NaturalCycles/frontend-lib: Standard library for Frontend applications\",\"base\":\"/frontend-lib/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"nav\":[{\"text\":\"Github\",\"link\":\"https://github.com/NaturalCycles/frontend-lib/\"},{\"text\":\"Changelog\",\"link\":\"https://github.com/NaturalCycles/frontend-lib/releases\"}],\"sidebar\":[{\"text\":\"Intro\",\"collapsed\":false,\"items\":[{\"text\":\"Intro\",\"link\":\"/\"}]},{\"text\":\"Features\",\"collapsed\":false,\"items\":[{\"text\":\"loadScript, loadCSS\",\"link\":\"/loadScript\"},{\"text\":\"TranslationService\",\"link\":\"/translation\"},{\"text\":\"Analytics\",\"link\":\"/analytics\"},{\"text\":\"AdminService\",\"link\":\"/adminService\"},{\"text\":\"Image\",\"link\":\"/image\"}]}]},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":false}");</script> | ||
|
||
</body> | ||
</html> |
Oops, something went wrong.