variables.html 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  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 miscellaneous-variables">
  73. <div class="content-data">
  74. <ol class="breadcrumb">
  75. <li class="breadcrumb-item">Miscellaneous</li>
  76. <li class="breadcrumb-item">Variables</li>
  77. </ol>
  78. <section data-compodoc="block-index">
  79. <h3 id="index">Index</h3>
  80. <table class="table table-sm table-bordered index-table">
  81. <tbody>
  82. <tr>
  83. <td class="col-md-4">
  84. <ul class="index-list">
  85. <li>
  86. <a href="#environment" title="src/environments/environment.prod.ts" ><b>environment</b>&nbsp;&nbsp;&nbsp;(src/.../environment.prod.ts)</a>
  87. </li>
  88. <li>
  89. <a href="#environment" title="src/environments/environment.ts" ><b>environment</b>&nbsp;&nbsp;&nbsp;(src/.../environment.ts)</a>
  90. </li>
  91. </ul>
  92. </td>
  93. </tr>
  94. </tbody>
  95. </table>
  96. </section>
  97. <h3>src/environments/environment.prod.ts</h3>
  98. <section data-compodoc="block-properties">
  99. <h3></h3> <table class="table table-sm table-bordered">
  100. <tbody>
  101. <tr>
  102. <td class="col-md-4">
  103. <a name="environment"></a>
  104. <span class="name">
  105. <span ><b>environment</b></span>
  106. <a href="#environment"><span class="icon ion-ios-link"></span></a>
  107. </span>
  108. </td>
  109. </tr>
  110. <tr>
  111. <td class="col-md-4">
  112. <i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object" target="_blank" >object</a></code>
  113. </td>
  114. </tr>
  115. <tr>
  116. <td class="col-md-4">
  117. <i>Default value : </i><code>{
  118. production: true
  119. }</code>
  120. </td>
  121. </tr>
  122. </tbody>
  123. </table>
  124. </section>
  125. <h3>src/environments/environment.ts</h3>
  126. <section data-compodoc="block-properties">
  127. <h3></h3> <table class="table table-sm table-bordered">
  128. <tbody>
  129. <tr>
  130. <td class="col-md-4">
  131. <a name="environment"></a>
  132. <span class="name">
  133. <span ><b>environment</b></span>
  134. <a href="#environment"><span class="icon ion-ios-link"></span></a>
  135. </span>
  136. </td>
  137. </tr>
  138. <tr>
  139. <td class="col-md-4">
  140. <i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object" target="_blank" >object</a></code>
  141. </td>
  142. </tr>
  143. <tr>
  144. <td class="col-md-4">
  145. <i>Default value : </i><code>{
  146. production: false
  147. }</code>
  148. </td>
  149. </tr>
  150. </tbody>
  151. </table>
  152. </section>
  153. </div><div class="search-results">
  154. <div class="has-results">
  155. <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
  156. <ul class="search-results-list"></ul>
  157. </div>
  158. <div class="no-results">
  159. <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
  160. </div>
  161. </div>
  162. </div>
  163. <!-- END CONTENT -->
  164. </div>
  165. </div>
  166. <label class="dark-mode-switch">
  167. <input type="checkbox">
  168. <span class="slider">
  169. <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">
  170. <path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"></path>
  171. </svg>
  172. </span>
  173. </label>
  174. <script>
  175. var COMPODOC_CURRENT_PAGE_DEPTH = 1;
  176. var COMPODOC_CURRENT_PAGE_CONTEXT = 'miscellaneous-variables';
  177. var COMPODOC_CURRENT_PAGE_URL = 'variables.html';
  178. var MAX_SEARCH_RESULTS = 15;
  179. </script>
  180. <script>
  181. $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
  182. checkToggle(darkModeState);
  183. if ($darkModeToggleSwitchers.length > 0) {
  184. for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
  185. $darkModeToggleSwitchers[i].addEventListener('change', function (event) {
  186. darkModeState = !darkModeState;
  187. toggleDarkMode(darkModeState);
  188. });
  189. }
  190. }
  191. </script>
  192. <script src="../js/libs/custom-elements.min.js"></script>
  193. <script src="../js/libs/lit-html.js"></script>
  194. <script src="../js/menu-wc.js" defer></script>
  195. <script nomodule src="../js/menu-wc_es5.js" defer></script>
  196. <script src="../js/libs/bootstrap-native.js"></script>
  197. <script src="../js/libs/es6-shim.min.js"></script>
  198. <script src="../js/libs/EventDispatcher.js"></script>
  199. <script src="../js/libs/promise.min.js"></script>
  200. <script src="../js/libs/zepto.min.js"></script>
  201. <script src="../js/compodoc.js"></script>
  202. <script src="../js/tabs.js"></script>
  203. <script src="../js/menu.js"></script>
  204. <script src="../js/libs/clipboard.min.js"></script>
  205. <script src="../js/libs/prism.js"></script>
  206. <script src="../js/sourceCode.js"></script>
  207. <script src="../js/search/search.js"></script>
  208. <script src="../js/search/lunr.min.js"></script>
  209. <script src="../js/search/search-lunr.js"></script>
  210. <script src="../js/search/search_index.js"></script>
  211. <script src="../js/lazy-load-graphs.js"></script>
  212. </body>
  213. </html>