TabsPageRoutingModule.html 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  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" >TabsPageRoutingModule</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/tabs/tabs-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 { RouterModule, Routes } from &#x27;@angular/router&#x27;;
  107. import { TabsPage } from &#x27;./tabs.page&#x27;;
  108. const routes: Routes &#x3D; [
  109. {
  110. path: &#x27;tabs&#x27;,
  111. component: TabsPage,
  112. children: [
  113. {
  114. path: &#x27;home&#x27;,
  115. loadChildren: () &#x3D;&gt; &quot;import(&#x27;../home/home.module&#x27;).then(m &#x3D;&gt; m.HomePageModule)&quot;
  116. },
  117. {
  118. path: &#x27;tasks&#x27;,
  119. loadChildren: () &#x3D;&gt; &quot;import(&#x27;../tasks/tasks.module&#x27;).then(m &#x3D;&gt; m.TasksPageModule)&quot;
  120. },
  121. {
  122. path: &#x27;services&#x27;,
  123. loadChildren: () &#x3D;&gt; &quot;import(&#x27;../services/services.module&#x27;).then(m &#x3D;&gt; m.ServicesPageModule)&quot;
  124. },
  125. {
  126. path: &#x27;profile&#x27;,
  127. loadChildren: () &#x3D;&gt; &quot;import(&#x27;../profile/profile.module&#x27;).then(m &#x3D;&gt; m.ProfilePageModule)&quot;
  128. },
  129. {
  130. path: &#x27;&#x27;,
  131. redirectTo: &#x27;/tabs/home&#x27;,
  132. pathMatch: &#x27;full&#x27;
  133. }
  134. ]
  135. },
  136. {
  137. path: &#x27;&#x27;,
  138. redirectTo: &#x27;/tabs/home&#x27;,
  139. pathMatch: &#x27;full&#x27;
  140. }
  141. ];
  142. @NgModule({
  143. imports: [RouterModule.forChild(routes)],
  144. exports: [RouterModule]
  145. })
  146. export class TabsPageRoutingModule {}
  147. </code></pre>
  148. </div>
  149. </div>
  150. </div><div class="search-results">
  151. <div class="has-results">
  152. <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
  153. <ul class="search-results-list"></ul>
  154. </div>
  155. <div class="no-results">
  156. <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
  157. </div>
  158. </div>
  159. </div>
  160. <!-- END CONTENT -->
  161. </div>
  162. </div>
  163. <label class="dark-mode-switch">
  164. <input type="checkbox">
  165. <span class="slider">
  166. <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">
  167. <path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"></path>
  168. </svg>
  169. </span>
  170. </label>
  171. <script>
  172. var COMPODOC_CURRENT_PAGE_DEPTH = 1;
  173. var COMPODOC_CURRENT_PAGE_CONTEXT = 'module';
  174. var COMPODOC_CURRENT_PAGE_URL = 'TabsPageRoutingModule.html';
  175. var MAX_SEARCH_RESULTS = 15;
  176. </script>
  177. <script>
  178. $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
  179. checkToggle(darkModeState);
  180. if ($darkModeToggleSwitchers.length > 0) {
  181. for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
  182. $darkModeToggleSwitchers[i].addEventListener('change', function (event) {
  183. darkModeState = !darkModeState;
  184. toggleDarkMode(darkModeState);
  185. });
  186. }
  187. }
  188. </script>
  189. <script src="../js/libs/custom-elements.min.js"></script>
  190. <script src="../js/libs/lit-html.js"></script>
  191. <script src="../js/menu-wc.js" defer></script>
  192. <script nomodule src="../js/menu-wc_es5.js" defer></script>
  193. <script src="../js/libs/bootstrap-native.js"></script>
  194. <script src="../js/libs/es6-shim.min.js"></script>
  195. <script src="../js/libs/EventDispatcher.js"></script>
  196. <script src="../js/libs/promise.min.js"></script>
  197. <script src="../js/libs/zepto.min.js"></script>
  198. <script src="../js/compodoc.js"></script>
  199. <script src="../js/tabs.js"></script>
  200. <script src="../js/menu.js"></script>
  201. <script src="../js/libs/clipboard.min.js"></script>
  202. <script src="../js/libs/prism.js"></script>
  203. <script src="../js/sourceCode.js"></script>
  204. <script src="../js/search/search.js"></script>
  205. <script src="../js/search/lunr.min.js"></script>
  206. <script src="../js/search/search-lunr.js"></script>
  207. <script src="../js/search/search_index.js"></script>
  208. <script src="../js/lazy-load-graphs.js"></script>
  209. </body>
  210. </html>