ExploreContainerComponent.html 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413
  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 component">
  73. <div class="content-data">
  74. <ol class="breadcrumb">
  75. <li class="breadcrumb-item">Components</li>
  76. <li class="breadcrumb-item"
  77. >
  78. ExploreContainerComponent</li>
  79. </ol>
  80. <ul class="nav nav-tabs" role="tablist">
  81. <li class="nav-item">
  82. <a href="#info" 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" class="nav-link"
  87. role="tab" id="source-tab" data-bs-toggle="tab" data-link="source">Source</a>
  88. </li>
  89. <li class="nav-item">
  90. <a href="#templateData" class="nav-link"
  91. role="tab" id="templateData-tab" data-bs-toggle="tab" data-link="template">Template</a>
  92. </li>
  93. <li class="nav-item">
  94. <a href="#styleData" class="nav-link"
  95. role="tab" id="styleData-tab" data-bs-toggle="tab" data-link="style">Styles</a>
  96. </li>
  97. <li class="nav-item">
  98. <a href="#tree" class="nav-link"
  99. role="tab" id="tree-tab" data-bs-toggle="tab" data-link="dom-tree">DOM Tree</a>
  100. </li>
  101. </ul>
  102. <div class="tab-content">
  103. <div class="tab-pane fade active in" id="info"><p class="comment">
  104. <h3>File</h3>
  105. </p>
  106. <p class="comment">
  107. <code>src/app/explore-container/explore-container.component.ts</code>
  108. </p>
  109. <section data-compodoc="block-metadata">
  110. <h3>Metadata</h3>
  111. <table class="table table-sm table-hover metadata">
  112. <tbody>
  113. <tr>
  114. <td class="col-md-3">selector</td>
  115. <td class="col-md-9"><code>app-explore-container</code></td>
  116. </tr>
  117. <tr>
  118. <td class="col-md-3">styleUrls</td>
  119. <td class="col-md-9"><code>./explore-container.component.scss</code></td>
  120. </tr>
  121. <tr>
  122. <td class="col-md-3">templateUrl</td>
  123. <td class="col-md-9"><code>./explore-container.component.html</code></td>
  124. </tr>
  125. </tbody>
  126. </table>
  127. </section>
  128. <section data-compodoc="block-index">
  129. <h3 id="index">Index</h3>
  130. <table class="table table-sm table-bordered index-table">
  131. <tbody>
  132. <tr>
  133. <td class="col-md-4">
  134. <h6><b>Inputs</b></h6>
  135. </td>
  136. </tr>
  137. <tr>
  138. <td class="col-md-4">
  139. <ul class="index-list">
  140. <li>
  141. <a href="#name" >name</a>
  142. </li>
  143. </ul>
  144. </td>
  145. </tr>
  146. </tbody>
  147. </table>
  148. </section>
  149. <section data-compodoc="block-inputs">
  150. <h3 id="inputs">Inputs</h3>
  151. <table class="table table-sm table-bordered">
  152. <tbody>
  153. <tr>
  154. <td class="col-md-4">
  155. <a name="name"></a>
  156. <b>name</b>
  157. </td>
  158. </tr>
  159. <tr>
  160. <td class="col-md-4">
  161. <i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
  162. </td>
  163. </tr>
  164. <tr>
  165. <td class="col-md-2" colspan="2">
  166. <div class="io-line">Defined in <a href="" data-line="10" class="link-to-prism">src/app/explore-container/explore-container.component.ts:10</a></div>
  167. </td>
  168. </tr>
  169. </tbody>
  170. </table>
  171. </section>
  172. </div>
  173. <div class="tab-pane fade tab-source-code" id="source">
  174. <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { Component, Input } from &#x27;@angular/core&#x27;;
  175. @Component({
  176. selector: &#x27;app-explore-container&#x27;,
  177. templateUrl: &#x27;./explore-container.component.html&#x27;,
  178. styleUrls: [&#x27;./explore-container.component.scss&#x27;],
  179. })
  180. export class ExploreContainerComponent {
  181. @Input() name?: string;
  182. }
  183. </code></pre>
  184. </div>
  185. <div class="tab-pane fade " id="templateData">
  186. <pre class="line-numbers"><code class="language-html">&lt;div id&#x3D;&quot;container&quot;&gt;
  187. &lt;strong&gt;{{ name }}&lt;/strong&gt;
  188. &lt;p&gt;Explore &lt;a target&#x3D;&quot;_blank&quot; rel&#x3D;&quot;noopener noreferrer&quot; href&#x3D;&quot;https://ionicframework.com/docs/components&quot;&gt;UI Components&lt;/a&gt;&lt;/p&gt;
  189. &lt;/div&gt;</code></pre>
  190. </div>
  191. <div class="tab-pane fade " id="styleData">
  192. <p class="comment">
  193. <code>./explore-container.component.scss</code>
  194. </p>
  195. <pre class="line-numbers"><code class="language-scss">#container {
  196. text-align: center;
  197. position: absolute;
  198. left: 0;
  199. right: 0;
  200. top: 50%;
  201. transform: translateY(-50%);
  202. }
  203. #container strong {
  204. font-size: 20px;
  205. line-height: 26px;
  206. }
  207. #container p {
  208. font-size: 16px;
  209. line-height: 22px;
  210. color: #8c8c8c;
  211. margin: 0;
  212. }
  213. #container a {
  214. text-decoration: none;
  215. }</code></pre>
  216. </div>
  217. <div class="tab-pane fade " id="tree">
  218. <div id="tree-container"></div>
  219. <div class="tree-legend">
  220. <div class="title">
  221. <b>Legend</b>
  222. </div>
  223. <div>
  224. <div class="color htmlelement"></div><span>Html element</span>
  225. </div>
  226. <div>
  227. <div class="color component"></div><span>Component</span>
  228. </div>
  229. <div>
  230. <div class="color directive"></div><span>Html element with directive</span>
  231. </div>
  232. </div>
  233. </div>
  234. </div>
  235. <script src="../js/libs/vis.min.js"></script>
  236. <script src="../js/libs/htmlparser.js"></script>
  237. <script src="../js/libs/deep-iterator.js"></script>
  238. <script>
  239. var COMPONENT_TEMPLATE = '<div><div id="container"> <strong>{{ name }}</strong> <p>Explore <a target="_blank" rel="noopener noreferrer" href="https://ionicframework.com/docs/components">UI Components</a></p></div></div>'
  240. var COMPONENTS = [{'name': 'AppComponent', 'selector': 'app-root'},{'name': 'ExploreContainerComponent', 'selector': 'app-explore-container'},{'name': 'HomePage', 'selector': 'app-home'},{'name': 'ProfilePage', 'selector': 'app-profile'},{'name': 'ServicesPage', 'selector': 'app-services'},{'name': 'TabsPage', 'selector': 'app-tabs'},{'name': 'TasksPage', 'selector': 'app-tasks'}];
  241. var DIRECTIVES = [];
  242. var ACTUAL_COMPONENT = {'name': 'ExploreContainerComponent'};
  243. </script>
  244. <script src="../js/tree.js"></script>
  245. </div><div class="search-results">
  246. <div class="has-results">
  247. <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
  248. <ul class="search-results-list"></ul>
  249. </div>
  250. <div class="no-results">
  251. <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
  252. </div>
  253. </div>
  254. </div>
  255. <!-- END CONTENT -->
  256. </div>
  257. </div>
  258. <label class="dark-mode-switch">
  259. <input type="checkbox">
  260. <span class="slider">
  261. <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">
  262. <path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"></path>
  263. </svg>
  264. </span>
  265. </label>
  266. <script>
  267. var COMPODOC_CURRENT_PAGE_DEPTH = 1;
  268. var COMPODOC_CURRENT_PAGE_CONTEXT = 'component';
  269. var COMPODOC_CURRENT_PAGE_URL = 'ExploreContainerComponent.html';
  270. var MAX_SEARCH_RESULTS = 15;
  271. </script>
  272. <script>
  273. $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
  274. checkToggle(darkModeState);
  275. if ($darkModeToggleSwitchers.length > 0) {
  276. for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
  277. $darkModeToggleSwitchers[i].addEventListener('change', function (event) {
  278. darkModeState = !darkModeState;
  279. toggleDarkMode(darkModeState);
  280. });
  281. }
  282. }
  283. </script>
  284. <script src="../js/libs/custom-elements.min.js"></script>
  285. <script src="../js/libs/lit-html.js"></script>
  286. <script src="../js/menu-wc.js" defer></script>
  287. <script nomodule src="../js/menu-wc_es5.js" defer></script>
  288. <script src="../js/libs/bootstrap-native.js"></script>
  289. <script src="../js/libs/es6-shim.min.js"></script>
  290. <script src="../js/libs/EventDispatcher.js"></script>
  291. <script src="../js/libs/promise.min.js"></script>
  292. <script src="../js/libs/zepto.min.js"></script>
  293. <script src="../js/compodoc.js"></script>
  294. <script src="../js/tabs.js"></script>
  295. <script src="../js/menu.js"></script>
  296. <script src="../js/libs/clipboard.min.js"></script>
  297. <script src="../js/libs/prism.js"></script>
  298. <script src="../js/sourceCode.js"></script>
  299. <script src="../js/search/search.js"></script>
  300. <script src="../js/search/lunr.min.js"></script>
  301. <script src="../js/search/search-lunr.js"></script>
  302. <script src="../js/search/search_index.js"></script>
  303. <script src="../js/lazy-load-graphs.js"></script>
  304. </body>
  305. </html>