AppRoutingModule.html 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  1. <!doctype html>
  2. <html class="no-js" lang="">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="x-ua-compatible" content="ie=edge">
  6. <title>time1 documentation</title>
  7. <meta name="description" content="">
  8. <meta name="viewport" content="width=device-width, initial-scale=1">
  9. <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
  10. <link rel="stylesheet" href="../styles/style.css">
  11. <link rel="stylesheet" href="../styles/dark.css">
  12. </head>
  13. <body>
  14. <script>
  15. // Blocking script to avoid flickering dark mode
  16. // Dark mode toggle button
  17. var useDark = window.matchMedia('(prefers-color-scheme: dark)');
  18. var darkModeState = useDark.matches;
  19. var $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
  20. var $darkModeToggles = document.querySelectorAll('.dark-mode-switch');
  21. var darkModeStateLocal = localStorage.getItem('compodoc_darkmode-state');
  22. function checkToggle(check) {
  23. for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
  24. $darkModeToggleSwitchers[i].checked = check;
  25. }
  26. }
  27. function toggleDarkMode(state) {
  28. if (window.localStorage) {
  29. localStorage.setItem('compodoc_darkmode-state', state);
  30. }
  31. checkToggle(state);
  32. const hasClass = document.body.classList.contains('dark');
  33. if (state) {
  34. for (var i = 0; i < $darkModeToggles.length; i++) {
  35. $darkModeToggles[i].classList.add('dark');
  36. }
  37. if (!hasClass) {
  38. document.body.classList.add('dark');
  39. }
  40. } else {
  41. for (var i = 0; i < $darkModeToggles.length; i++) {
  42. $darkModeToggles[i].classList.remove('dark');
  43. }
  44. if (hasClass) {
  45. document.body.classList.remove('dark');
  46. }
  47. }
  48. }
  49. useDark.addEventListener('change', function (evt) {
  50. toggleDarkMode(evt.matches);
  51. });
  52. if (darkModeStateLocal) {
  53. darkModeState = darkModeStateLocal === 'true';
  54. }
  55. toggleDarkMode(darkModeState);
  56. </script>
  57. <div class="navbar navbar-default navbar-fixed-top d-md-none p-0">
  58. <div class="d-flex">
  59. <a href="../" class="navbar-brand">time1 documentation</a>
  60. <button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
  61. </div>
  62. </div>
  63. <div class="xs-menu menu" id="mobile-menu">
  64. <div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu>
  65. </div>
  66. <div class="container-fluid main">
  67. <div class="row main">
  68. <div class="d-none d-md-block menu">
  69. <compodoc-menu mode="normal"></compodoc-menu>
  70. </div>
  71. <!-- START CONTENT -->
  72. <div class="content module">
  73. <div class="content-data">
  74. <ol class="breadcrumb">
  75. <li class="breadcrumb-item">Modules</li>
  76. <li class="breadcrumb-item" >AppRoutingModule</li>
  77. </ol>
  78. <ul class="nav nav-tabs" role="tablist">
  79. <li class="nav-item">
  80. <a href="#info"
  81. class="nav-link"
  82. class="nav-link active"
  83. role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
  84. </li>
  85. <li class="nav-item">
  86. <a href="#source"
  87. class="nav-link"
  88. role="tab" id="source-tab" data-bs-toggle="tab" data-link="source">Source</a>
  89. </li>
  90. </ul>
  91. <div class="tab-content">
  92. <div class="tab-pane fade active in" id="info">
  93. <p class="comment">
  94. <h3>File</h3>
  95. </p>
  96. <p class="comment">
  97. <code>src/app/app-routing.module.ts</code>
  98. </p>
  99. <div class="container-fluid module">
  100. <div class="row">
  101. </div>
  102. </div>
  103. </div>
  104. <div class="tab-pane fade tab-source-code" id="source">
  105. <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { NgModule } from &#x27;@angular/core&#x27;;
  106. import { PreloadAllModules, RouterModule, Routes } from &#x27;@angular/router&#x27;;
  107. const routes: Routes &#x3D; [
  108. {
  109. path: &#x27;&#x27;,
  110. loadChildren: () &#x3D;&gt; &quot;import(&#x27;./tabs/tabs.module&#x27;).then(m &#x3D;&gt; m.TabsPageModule)&quot;
  111. },
  112. {
  113. path: &#x27;home&#x27;,
  114. loadChildren: () &#x3D;&gt; &quot;import(&#x27;./home/home.module&#x27;).then( m &#x3D;&gt; m.HomePageModule)&quot;
  115. },
  116. {
  117. path: &#x27;tasks&#x27;,
  118. loadChildren: () &#x3D;&gt; &quot;import(&#x27;./tasks/tasks.module&#x27;).then( m &#x3D;&gt; m.TasksPageModule)&quot;
  119. },
  120. {
  121. path: &#x27;services&#x27;,
  122. loadChildren: () &#x3D;&gt; &quot;import(&#x27;./services/services.module&#x27;).then( m &#x3D;&gt; m.ServicesPageModule)&quot;
  123. },
  124. {
  125. path: &#x27;profile&#x27;,
  126. loadChildren: () &#x3D;&gt; &quot;import(&#x27;./profile/profile.module&#x27;).then( m &#x3D;&gt; m.ProfilePageModule)&quot;
  127. }
  128. ];
  129. @NgModule({
  130. imports: [
  131. RouterModule.forRoot(routes, { preloadingStrategy: PreloadAllModules })
  132. ],
  133. exports: [RouterModule]
  134. })
  135. export class AppRoutingModule {}
  136. </code></pre>
  137. </div>
  138. </div>
  139. </div><div class="search-results">
  140. <div class="has-results">
  141. <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
  142. <ul class="search-results-list"></ul>
  143. </div>
  144. <div class="no-results">
  145. <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
  146. </div>
  147. </div>
  148. </div>
  149. <!-- END CONTENT -->
  150. </div>
  151. </div>
  152. <label class="dark-mode-switch">
  153. <input type="checkbox">
  154. <span class="slider">
  155. <svg class="slider-icon" viewBox="0 0 24 24" fill="none" height="20" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" width="20" xmlns="http://www.w3.org/2000/svg">
  156. <path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"></path>
  157. </svg>
  158. </span>
  159. </label>
  160. <script>
  161. var COMPODOC_CURRENT_PAGE_DEPTH = 1;
  162. var COMPODOC_CURRENT_PAGE_CONTEXT = 'module';
  163. var COMPODOC_CURRENT_PAGE_URL = 'AppRoutingModule.html';
  164. var MAX_SEARCH_RESULTS = 15;
  165. </script>
  166. <script>
  167. $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
  168. checkToggle(darkModeState);
  169. if ($darkModeToggleSwitchers.length > 0) {
  170. for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
  171. $darkModeToggleSwitchers[i].addEventListener('change', function (event) {
  172. darkModeState = !darkModeState;
  173. toggleDarkMode(darkModeState);
  174. });
  175. }
  176. }
  177. </script>
  178. <script src="../js/libs/custom-elements.min.js"></script>
  179. <script src="../js/libs/lit-html.js"></script>
  180. <script src="../js/menu-wc.js" defer></script>
  181. <script nomodule src="../js/menu-wc_es5.js" defer></script>
  182. <script src="../js/libs/bootstrap-native.js"></script>
  183. <script src="../js/libs/es6-shim.min.js"></script>
  184. <script src="../js/libs/EventDispatcher.js"></script>
  185. <script src="../js/libs/promise.min.js"></script>
  186. <script src="../js/libs/zepto.min.js"></script>
  187. <script src="../js/compodoc.js"></script>
  188. <script src="../js/tabs.js"></script>
  189. <script src="../js/menu.js"></script>
  190. <script src="../js/libs/clipboard.min.js"></script>
  191. <script src="../js/libs/prism.js"></script>
  192. <script src="../js/sourceCode.js"></script>
  193. <script src="../js/search/search.js"></script>
  194. <script src="../js/search/lunr.min.js"></script>
  195. <script src="../js/search/search-lunr.js"></script>
  196. <script src="../js/search/search_index.js"></script>
  197. <script src="../js/lazy-load-graphs.js"></script>
  198. </body>
  199. </html>