UNPKG

@compodoc/compodoc

Version:

The missing documentation tool for your Angular application

264 lines (210 loc) 9.93 kB
<!doctype html> <html class="no-js" lang=""> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <title>sample-files documentation</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)"> </head> <body> <div class="navbar navbar-default navbar-fixed-top visible-xs"> <a href="../" class="navbar-brand">sample-files documentation</a> <button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button> </div> <div class="xs-menu menu" id="mobile-menu"> <div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu> </div> <div class="container-fluid main"> <div class="row main"> <div class="hidden-xs menu"> <compodoc-menu mode="normal"></compodoc-menu> </div> <!-- START CONTENT --> <div class="content module"> <div class="content-data"> <ol class="breadcrumb"> <li>Modules</li> <li >AboutRoutingModule</li> </ol> <div class="text-center module-graph-container"> <div id="module-graph-svg"> <?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <!-- Generated by graphviz version 2.47.3 (20210619.1520) --> <!-- Title: dependencies Pages: 1 --> <svg width="359pt" height="174pt" viewBox="0.00 0.00 359.00 173.80" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 169.8)"> <title>dependencies</title> <polygon fill="white" stroke="transparent" points="-4,4 -4,-169.8 355,-169.8 355,4 -4,4"/> <text text-anchor="middle" x="175.5" y="-8.2" font-family="sans-serif" font-size="14.00">dependencies</text> <g id="clust1" class="cluster"> <title>cluster_AboutRoutingModule</title> <polygon fill="none" stroke="black" stroke-dasharray="1,5" points="8,-32.8 8,-157.8 343,-157.8 343,-32.8 8,-32.8"/> </g> <g id="clust2" class="cluster"> <title>cluster_AboutRoutingModule_declarations</title> <polygon fill="none" stroke="black" points="16,-40.8 16,-92.8 335,-92.8 335,-40.8 16,-40.8"/> </g> <!-- CompodocComponent --> <g id="node1" class="node"> <title>CompodocComponent</title> <polygon fill="#ffffb3" stroke="black" points="327.27,-84.8 184.73,-84.8 184.73,-48.8 327.27,-48.8 327.27,-84.8"/> <text text-anchor="middle" x="256" y="-62.6" font-family="Times,serif" font-size="14.00">CompodocComponent</text> </g> <!-- AboutRoutingModule --> <g id="node3" class="node"> <title>AboutRoutingModule</title> <polygon fill="#8dd3c7" stroke="black" points="244.67,-149.8 241.67,-153.8 220.67,-153.8 217.67,-149.8 105.33,-149.8 105.33,-113.8 244.67,-113.8 244.67,-149.8"/> <text text-anchor="middle" x="175" y="-127.6" font-family="Times,serif" font-size="14.00">AboutRoutingModule</text> </g> <!-- CompodocComponent&#45;&gt;AboutRoutingModule --> <g id="edge1" class="edge"> <title>CompodocComponent&#45;&gt;AboutRoutingModule</title> <path fill="none" stroke="black" d="M214.72,-84.91C214.72,-84.91 214.72,-103.79 214.72,-103.79"/> <polygon fill="black" stroke="black" points="211.22,-103.79 214.72,-113.79 218.22,-103.79 211.22,-103.79"/> </g> <!-- TodoMVCComponent --> <g id="node2" class="node"> <title>TodoMVCComponent</title> <polygon fill="#ffffb3" stroke="black" points="166.27,-84.8 23.73,-84.8 23.73,-48.8 166.27,-48.8 166.27,-84.8"/> <text text-anchor="middle" x="95" y="-62.6" font-family="Times,serif" font-size="14.00">TodoMVCComponent</text> </g> <!-- TodoMVCComponent&#45;&gt;AboutRoutingModule --> <g id="edge2" class="edge"> <title>TodoMVCComponent&#45;&gt;AboutRoutingModule</title> <path fill="none" stroke="black" d="M135.78,-84.91C135.78,-84.91 135.78,-103.79 135.78,-103.79"/> <polygon fill="black" stroke="black" points="132.28,-103.79 135.78,-113.79 139.28,-103.79 132.28,-103.79"/> </g> </g> </svg> </div> <i id="fullscreen" class="icon ion-ios-resize module-graph-fullscreen-btn" aria-hidden="true"></i> <div class="btn-group size-buttons"> <button id="zoom-in" class="btn btn-default btn-sm">Zoom in</button> <button id="reset" class="btn btn-default btn-sm">Reset</button> <button id="zoom-out" class="btn btn-default btn-sm">Zoom out</button> </div> </div> <script src="../js/libs/svg-pan-zoom.min.js"></script> <script src="../js/svg-pan-zoom.controls.js"></script> <ul class="nav nav-tabs" role="tablist"> <li class="active" > <a href="#info" role="tab" id="info-tab" data-toggle="tab" data-link="info">Info</a> </li> <li > <a href="#source" role="tab" id="source-tab" data-toggle="tab" data-link="source">Source</a> </li> </ul> <div class="tab-content"> <div class="tab-pane fade active in" id="c-info"> <p class="comment"> <h3>File</h3> </p> <p class="comment"> <code>src/app/about/about-routing.module.ts</code> </p> <div class="container-fluid module"> <div class="row"> <div class="col-sm-3"> <h3>Declarations<a href="https://angular.io/api/core/NgModule#declarations" target="_blank" title="Official documentation about module declarations"><span class="icon ion-ios-information-circle-outline"></span></a></h3> <ul class="list-group"> <li class="list-group-item"> <a href="../components/CompodocComponent.html">CompodocComponent</a> </li> <li class="list-group-item"> <a href="../components/TodoMVCComponent.html">TodoMVCComponent</a> </li> </ul> </div> </div> </div> </div> <div class="tab-pane fade tab-source-code" id="c-source"> <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { NgModule } from &#x27;@angular/core&#x27;; import { Routes, RouterModule } from &#x27;@angular/router&#x27;; import { AboutComponent } from &#x27;./about.component&#x27;; import { TodoMVCComponent } from &#x27;./todomvc/todomvc.component&#x27;; import { CompodocComponent } from &#x27;./compodoc/compodoc.component&#x27;; import { ABOUT_ENUMS } from &#x27;./about-routes.enum&#x27;; import { pathMatchStrategy } from &#x27;./path-match&#x27;; import { utils, oneFunction } from &#x27;./utils&#x27;; const extract &#x3D; function(s: string) {}; const ABOUT_ROUTES: Routes &#x3D; [ { path: &#x27;todomvcinstaticclass&#x27;, component: AboutComponent, children: [ { path: &#x27;&#x27;, redirectTo: &#x27;todomvc&#x27;, pathMatch: &#x27;full&#x27;, data: &quot;utils.doWork()&quot; }, { path: &#x27;todomvc&#x27;, component: TodoMVCComponent, data: { title: &quot;extract(&#x27;Home&#x27;)&quot; } }, { path: &#x27;compodoc&#x27;, component: CompodocComponent, data: &quot;oneFunction()&quot; } ] } ]; /** * About Routing module * * Exposing just two routes, one for Compodoc, the other one for TodoMVC */ @NgModule({ imports: [RouterModule.forChild(ABOUT_ROUTES)], exports: [RouterModule], declarations: [TodoMVCComponent, CompodocComponent] }) export class AboutRoutingModule {} </code></pre> </div> </div> </div><div class="search-results"> <div class="has-results"> <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1> <ul class="search-results-list"></ul> </div> <div class="no-results"> <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1> </div> </div> </div> <!-- END CONTENT --> </div> </div> <script> var COMPODOC_CURRENT_PAGE_DEPTH = 1; var COMPODOC_CURRENT_PAGE_CONTEXT = 'module'; var COMPODOC_CURRENT_PAGE_URL = 'AboutRoutingModule.html'; var MAX_SEARCH_RESULTS = 15; </script> <script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/lit-html.js"></script> <script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script> <script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/es6-shim.min.js"></script> <script src="../js/libs/EventDispatcher.js"></script> <script src="../js/libs/promise.min.js"></script> <script src="../js/libs/zepto.min.js"></script> <script src="../js/compodoc.js"></script> <script src="../js/tabs.js"></script> <script src="../js/menu.js"></script> <script src="../js/libs/clipboard.min.js"></script> <script src="../js/libs/prism.js"></script> <script src="../js/sourceCode.js"></script> <script src="../js/search/search.js"></script> <script src="../js/search/lunr.min.js"></script> <script src="../js/search/search-lunr.js"></script> <script src="../js/search/search_index.js"></script> <script src="../js/lazy-load-graphs.js"></script> </body> </html>