carbon-components-angular
Version:
Next generation components
306 lines (254 loc) • 13.2 kB
HTML
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>carbon-components-angular 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">
</head>
<body>
<div class="navbar navbar-default navbar-fixed-top d-block d-sm-none">
<a href="../" class="navbar-brand">carbon-components-angular 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 class="breadcrumb-item">Modules</li>
<li class="breadcrumb-item" >ContentSwitcherModule</li>
</ol>
<div class="text-center module-graph-container">
<div id="module-graph-svg">
<!-- Generated by graphviz version 2.47.0 (20210316.0004)
-->
<!-- Title: dependencies Pages: 1 -->
<svg width="504pt" height="284pt"
viewBox="0.00 0.00 504.00 284.00" 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 280)">
<title>dependencies</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-280 500,-280 500,4 -4,4"/>
<text text-anchor="start" x="227.01" y="-42.4" font-family="Times-12" font-weight="bold" font-size="14.00">Legend</text>
<polygon fill="#ffffb3" stroke="transparent" points="14,-10 14,-30 34,-30 34,-10 14,-10"/>
<text text-anchor="start" x="37.63" y="-15.4" font-family="Times-12" font-size="14.00">  Declarations</text>
<polygon fill="#8dd3c7" stroke="transparent" points="127,-10 127,-30 147,-30 147,-10 127,-10"/>
<text text-anchor="start" x="150.73" y="-15.4" font-family="Times-12" font-size="14.00">  Module</text>
<polygon fill="#80b1d3" stroke="transparent" points="213,-10 213,-30 233,-30 233,-10 213,-10"/>
<text text-anchor="start" x="236.78" y="-15.4" font-family="Times-12" font-size="14.00">  Bootstrap</text>
<polygon fill="#fdb462" stroke="transparent" points="310,-10 310,-30 330,-30 330,-10 310,-10"/>
<text text-anchor="start" x="333.67" y="-15.4" font-family="Times-12" font-size="14.00">  Providers</text>
<polygon fill="#fb8072" stroke="transparent" points="406,-10 406,-30 426,-30 426,-10 406,-10"/>
<text text-anchor="start" x="429.73" y="-15.4" font-family="Times-12" font-size="14.00">  Exports</text>
<g id="clust1" class="cluster">
<title>cluster_ContentSwitcherModule</title>
<polygon fill="none" stroke="black" stroke-dasharray="1,5" points="90,-70 90,-268 406,-268 406,-70 90,-70"/>
</g>
<g id="clust6" class="cluster">
<title>cluster_ContentSwitcherModule_exports</title>
<polygon fill="none" stroke="black" points="98,-208 98,-260 398,-260 398,-208 98,-208"/>
</g>
<g id="clust2" class="cluster">
<title>cluster_ContentSwitcherModule_declarations</title>
<polygon fill="none" stroke="black" points="102,-78 102,-130 395,-130 395,-78 102,-78"/>
</g>
<!-- ContentSwitcher -->
<g id="node1" class="node">
<title>ContentSwitcher</title>
<polygon fill="#ffffb3" stroke="black" points="387.09,-122 276.91,-122 276.91,-86 387.09,-86 387.09,-122"/>
<text text-anchor="middle" x="332" y="-99.8" font-family="Times,serif" font-size="14.00">ContentSwitcher</text>
</g>
<!-- ContentSwitcherModule -->
<g id="node3" class="node">
<title>ContentSwitcherModule</title>
<polygon fill="#8dd3c7" stroke="black" points="261.64,-187 258.64,-191 237.64,-191 234.64,-187 108.36,-187 108.36,-151 261.64,-151 261.64,-187"/>
<text text-anchor="middle" x="185" y="-164.8" font-family="Times,serif" font-size="14.00">ContentSwitcherModule</text>
</g>
<!-- ContentSwitcher->ContentSwitcherModule -->
<g id="edge1" class="edge">
<title>ContentSwitcher->ContentSwitcherModule</title>
<path fill="none" stroke="black" d="M350.35,-122.02C350.35,-139.37 350.35,-163 350.35,-163 350.35,-163 271.87,-163 271.87,-163"/>
<polygon fill="black" stroke="black" points="271.87,-159.5 261.87,-163 271.87,-166.5 271.87,-159.5"/>
</g>
<!-- ContentSwitcherOption -->
<g id="node2" class="node">
<title>ContentSwitcherOption</title>
<polygon fill="#ffffb3" stroke="black" points="258.48,-122 109.52,-122 109.52,-86 258.48,-86 258.48,-122"/>
<text text-anchor="middle" x="184" y="-99.8" font-family="Times,serif" font-size="14.00">ContentSwitcherOption</text>
</g>
<!-- ContentSwitcherOption->ContentSwitcherModule -->
<g id="edge2" class="edge">
<title>ContentSwitcherOption->ContentSwitcherModule</title>
<path fill="none" stroke="black" d="M184,-122.11C184,-122.11 184,-140.99 184,-140.99"/>
<polygon fill="black" stroke="black" points="180.5,-140.99 184,-150.99 187.5,-140.99 180.5,-140.99"/>
</g>
<!-- ContentSwitcher -->
<g id="node4" class="node">
<title>ContentSwitcher </title>
<polygon fill="#fb8072" stroke="black" points="389.59,-252 276.41,-252 276.41,-216 389.59,-216 389.59,-252"/>
<text text-anchor="middle" x="333" y="-229.8" font-family="Times,serif" font-size="14.00">ContentSwitcher </text>
</g>
<!-- ContentSwitcherModule->ContentSwitcher -->
<g id="edge3" class="edge">
<title>ContentSwitcherModule->ContentSwitcher </title>
<path fill="none" stroke="black" stroke-dasharray="5,2" d="M261.69,-175C289.25,-175 313.65,-175 313.65,-175 313.65,-175 313.65,-205.98 313.65,-205.98"/>
<polygon fill="black" stroke="black" points="310.15,-205.98 313.65,-215.98 317.15,-205.98 310.15,-205.98"/>
</g>
<!-- ContentSwitcherOption -->
<g id="node5" class="node">
<title>ContentSwitcherOption </title>
<polygon fill="#fb8072" stroke="black" points="258.48,-252 105.52,-252 105.52,-216 258.48,-216 258.48,-252"/>
<text text-anchor="middle" x="182" y="-229.8" font-family="Times,serif" font-size="14.00">ContentSwitcherOption </text>
</g>
<!-- ContentSwitcherModule->ContentSwitcherOption -->
<g id="edge4" class="edge">
<title>ContentSwitcherModule->ContentSwitcherOption </title>
<path fill="none" stroke="black" stroke-dasharray="5,2" d="M183.21,-187.11C183.21,-187.11 183.21,-205.99 183.21,-205.99"/>
<polygon fill="black" stroke="black" points="179.71,-205.99 183.21,-215.99 186.71,-205.99 179.71,-205.99"/>
</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="nav-item">
<a href="#info"
class="nav-link"
class="nav-link active"
role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
</li>
<li class="nav-item">
<a href="#source"
class="nav-link"
role="tab" id="source-tab" data-bs-toggle="tab" data-link="source">Source</a>
</li>
</ul>
<div class="tab-content">
<div class="tab-pane fade active in" id="info">
<p class="comment">
<h3>File</h3>
</p>
<p class="comment">
<code>src/content-switcher/content-switcher.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" rel="noopener noreferrer"
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/ContentSwitcher.html">ContentSwitcher</a>
</li>
<li class="list-group-item">
<a href="../directives/ContentSwitcherOption.html">ContentSwitcherOption</a>
</li>
</ul>
</div>
<div class="col-sm-3">
<h3>Exports<a href="https://angular.io/api/core/NgModule#exports" target="_blank" rel="noopener noreferrer"
title="Official documentation about module exports"><span
class="icon ion-ios-information-circle-outline"></a></h3>
<ul class="list-group">
<li class="list-group-item">
<a href="../components/ContentSwitcher.html">ContentSwitcher</a>
</li>
<li class="list-group-item">
<a href="../directives/ContentSwitcherOption.html">ContentSwitcherOption</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="tab-pane fade tab-source-code" id="source">
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { NgModule } from "@angular/core";
import { CommonModule } from "@angular/common";
import { ContentSwitcher } from "./content-switcher.component";
import { ContentSwitcherOption } from "./content-switcher-option.directive";
@NgModule({
declarations: [
ContentSwitcher,
ContentSwitcherOption
],
exports: [
ContentSwitcher,
ContentSwitcherOption
],
imports: [CommonModule]
})
export class ContentSwitcherModule { }
</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>
<label class="dark-mode-switch">
<input type="checkbox">
<span class="slider">
<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">
<path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"></path>
</svg>
</span>
</label>
<script>
var COMPODOC_CURRENT_PAGE_DEPTH = 1;
var COMPODOC_CURRENT_PAGE_CONTEXT = 'module';
var COMPODOC_CURRENT_PAGE_URL = 'ContentSwitcherModule.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>