carbon-components-angular
Version:
Next generation components
402 lines (350 loc) • 18.6 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" >GridModule</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="1080pt" height="443pt"
viewBox="0.00 0.00 1080.00 443.11" 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 439.11)">
<title>dependencies</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-439.11 1076,-439.11 1076,4 -4,4"/>
<text text-anchor="start" x="515.01" y="-42.4" font-family="Times-12" font-weight="bold" font-size="14.00">Legend</text>
<polygon fill="#ffffb3" stroke="transparent" points="302,-10 302,-30 322,-30 322,-10 302,-10"/>
<text text-anchor="start" x="325.63" y="-15.4" font-family="Times-12" font-size="14.00">  Declarations</text>
<polygon fill="#8dd3c7" stroke="transparent" points="415,-10 415,-30 435,-30 435,-10 415,-10"/>
<text text-anchor="start" x="438.73" y="-15.4" font-family="Times-12" font-size="14.00">  Module</text>
<polygon fill="#80b1d3" stroke="transparent" points="501,-10 501,-30 521,-30 521,-10 501,-10"/>
<text text-anchor="start" x="524.78" y="-15.4" font-family="Times-12" font-size="14.00">  Bootstrap</text>
<polygon fill="#fdb462" stroke="transparent" points="598,-10 598,-30 618,-30 618,-10 598,-10"/>
<text text-anchor="start" x="621.67" y="-15.4" font-family="Times-12" font-size="14.00">  Providers</text>
<polygon fill="#fb8072" stroke="transparent" points="694,-10 694,-30 714,-30 714,-10 694,-10"/>
<text text-anchor="start" x="717.73" y="-15.4" font-family="Times-12" font-size="14.00">  Exports</text>
<g id="clust1" class="cluster">
<title>cluster_GridModule</title>
<polygon fill="none" stroke="black" stroke-dasharray="1,5" points="8,-70 8,-427.11 1064,-427.11 1064,-70 8,-70"/>
</g>
<g id="clust2" class="cluster">
<title>cluster_GridModule_declarations</title>
<polygon fill="none" stroke="black" points="369,-237.11 369,-289.11 722,-289.11 722,-237.11 369,-237.11"/>
</g>
<g id="clust4" class="cluster">
<title>cluster_GridModule_GridDirective_providers</title>
<polygon fill="none" stroke="black" points="16,-78 16,-224.11 1056,-224.11 1056,-78 16,-78"/>
</g>
<g id="clust7" class="cluster">
<title>cluster_GridModule_exports</title>
<polygon fill="none" stroke="black" points="307,-367.11 307,-419.11 671,-419.11 671,-367.11 307,-367.11"/>
</g>
<g id="clust9" class="cluster">
<title>cluster_GridModule_providers</title>
<polygon fill="none" stroke="black" points="229,-237.11 229,-289.11 361,-289.11 361,-237.11 229,-237.11"/>
</g>
<!-- ColumnDirective -->
<g id="node1" class="node">
<title>ColumnDirective</title>
<polygon fill="#ffffb3" stroke="black" points="713.7,-281.11 600.3,-281.11 600.3,-245.11 713.7,-245.11 713.7,-281.11"/>
<text text-anchor="middle" x="657" y="-258.91" font-family="Times,serif" font-size="14.00">ColumnDirective</text>
</g>
<!-- GridModule -->
<g id="node4" class="node">
<title>GridModule</title>
<polygon fill="#8dd3c7" stroke="black" points="522.71,-346.11 519.71,-350.11 498.71,-350.11 495.71,-346.11 437.29,-346.11 437.29,-310.11 522.71,-310.11 522.71,-346.11"/>
<text text-anchor="middle" x="480" y="-323.91" font-family="Times,serif" font-size="14.00">GridModule</text>
</g>
<!-- ColumnDirective->GridModule -->
<g id="edge1" class="edge">
<title>ColumnDirective->GridModule</title>
<path fill="none" stroke="black" d="M631.88,-281.13C631.88,-298.48 631.88,-322.11 631.88,-322.11 631.88,-322.11 532.71,-322.11 532.71,-322.11"/>
<polygon fill="black" stroke="black" points="532.71,-318.61 522.71,-322.11 532.71,-325.61 532.71,-318.61"/>
</g>
<!-- GridDirective -->
<g id="node2" class="node">
<title>GridDirective</title>
<polygon fill="#ffffb3" stroke="black" points="582.74,-281.11 489.26,-281.11 489.26,-245.11 582.74,-245.11 582.74,-281.11"/>
<text text-anchor="middle" x="536" y="-258.91" font-family="Times,serif" font-size="14.00">GridDirective</text>
</g>
<!-- GridDirective->GridModule -->
<g id="edge2" class="edge">
<title>GridDirective->GridModule</title>
<path fill="none" stroke="black" d="M505.87,-281.21C505.87,-281.21 505.87,-300.1 505.87,-300.1"/>
<polygon fill="black" stroke="black" points="502.37,-300.1 505.87,-310.1 509.37,-300.1 502.37,-300.1"/>
</g>
<!-- RowDirective -->
<g id="node3" class="node">
<title>RowDirective</title>
<polygon fill="#ffffb3" stroke="black" points="471.03,-281.11 376.97,-281.11 376.97,-245.11 471.03,-245.11 471.03,-281.11"/>
<text text-anchor="middle" x="424" y="-258.91" font-family="Times,serif" font-size="14.00">RowDirective</text>
</g>
<!-- RowDirective->GridModule -->
<g id="edge4" class="edge">
<title>RowDirective->GridModule</title>
<path fill="none" stroke="black" d="M454.33,-281.21C454.33,-281.21 454.33,-300.1 454.33,-300.1"/>
<polygon fill="black" stroke="black" points="450.83,-300.1 454.33,-310.1 457.83,-300.1 450.83,-300.1"/>
</g>
<!-- ColumnDirective -->
<g id="node6" class="node">
<title>ColumnDirective </title>
<polygon fill="#fb8072" stroke="black" points="663.2,-411.11 546.8,-411.11 546.8,-375.11 663.2,-375.11 663.2,-411.11"/>
<text text-anchor="middle" x="605" y="-388.91" font-family="Times,serif" font-size="14.00">ColumnDirective </text>
</g>
<!-- GridModule->ColumnDirective -->
<g id="edge5" class="edge">
<title>GridModule->ColumnDirective </title>
<path fill="none" stroke="black" stroke-dasharray="5,2" d="M522.88,-334.11C543.9,-334.11 564.76,-334.11 564.76,-334.11 564.76,-334.11 564.76,-365.09 564.76,-365.09"/>
<polygon fill="black" stroke="black" points="561.26,-365.09 564.76,-375.09 568.26,-365.09 561.26,-365.09"/>
</g>
<!-- GridDirective -->
<g id="node7" class="node">
<title>GridDirective </title>
<polygon fill="#fb8072" stroke="black" points="528.74,-411.11 431.26,-411.11 431.26,-375.11 528.74,-375.11 528.74,-411.11"/>
<text text-anchor="middle" x="480" y="-388.91" font-family="Times,serif" font-size="14.00">GridDirective </text>
</g>
<!-- GridModule->GridDirective -->
<g id="edge6" class="edge">
<title>GridModule->GridDirective </title>
<path fill="none" stroke="black" stroke-dasharray="5,2" d="M480,-346.21C480,-346.21 480,-365.1 480,-365.1"/>
<polygon fill="black" stroke="black" points="476.5,-365.1 480,-375.1 483.5,-365.1 476.5,-365.1"/>
</g>
<!-- RowDirective -->
<g id="node8" class="node">
<title>RowDirective </title>
<polygon fill="#fb8072" stroke="black" points="413.03,-411.11 314.97,-411.11 314.97,-375.11 413.03,-375.11 413.03,-411.11"/>
<text text-anchor="middle" x="364" y="-388.91" font-family="Times,serif" font-size="14.00">RowDirective </text>
</g>
<!-- GridModule->RowDirective -->
<g id="edge7" class="edge">
<title>GridModule->RowDirective </title>
<path fill="none" stroke="black" stroke-dasharray="5,2" d="M436.94,-334.11C415.83,-334.11 394.88,-334.11 394.88,-334.11 394.88,-334.11 394.88,-365.09 394.88,-365.09"/>
<polygon fill="black" stroke="black" points="391.38,-365.09 394.88,-375.09 398.38,-365.09 391.38,-365.09"/>
</g>
<!-- {
   provide: GridService, deps: [[new Optional(), new SkipSelf(), GridService]], useFactory: (parentService: GridService) => {
       return parentService || new GridService();
   }
} -->
<g id="node5" class="node">
<title>{
   provide: GridService, deps: [[new Optional(), new SkipSelf(), GridService]], useFactory: (parentService: GridService) => {
       return parentService || new GridService();
   }
}</title>
<ellipse fill="#fdb462" stroke="black" cx="536" cy="-151.05" rx="512.24" ry="65.11"/>
<text text-anchor="middle" x="536" y="-180.45" font-family="Times,serif" font-size="14.00">{</text>
<text text-anchor="middle" x="536" y="-163.65" font-family="Times,serif" font-size="14.00">    provide: GridService, deps: [[new Optional(), new SkipSelf(), GridService]], useFactory: (parentService: GridService) => {</text>
<text text-anchor="middle" x="536" y="-146.85" font-family="Times,serif" font-size="14.00">        return parentService || new GridService();</text>
<text text-anchor="middle" x="536" y="-130.05" font-family="Times,serif" font-size="14.00">    }</text>
<text text-anchor="middle" x="536" y="-113.25" font-family="Times,serif" font-size="14.00">}</text>
</g>
<!-- {
   provide: GridService, deps: [[new Optional(), new SkipSelf(), GridService]], useFactory: (parentService: GridService) => {
       return parentService || new GridService();
   }
}->GridDirective -->
<g id="edge3" class="edge">
<title>{
   provide: GridService, deps: [[new Optional(), new SkipSelf(), GridService]], useFactory: (parentService: GridService) => {
       return parentService || new GridService();
   }
}->GridDirective</title>
<path fill="none" stroke="black" d="M536,-216.24C536,-216.24 536,-235.1 536,-235.1"/>
<polygon fill="black" stroke="black" points="532.5,-235.1 536,-245.1 539.5,-235.1 532.5,-235.1"/>
</g>
<!-- GridService -->
<g id="node9" class="node">
<title>GridService</title>
<ellipse fill="#fdb462" stroke="black" cx="295" cy="-263.11" rx="57.88" ry="18"/>
<text text-anchor="middle" x="295" y="-258.91" font-family="Times,serif" font-size="14.00">GridService</text>
</g>
<!-- GridService->GridModule -->
<g id="edge8" class="edge">
<title>GridService->GridModule</title>
<path fill="none" stroke="black" d="M333.84,-276.5C333.84,-293.9 333.84,-322.11 333.84,-322.11 333.84,-322.11 427.33,-322.11 427.33,-322.11"/>
<polygon fill="black" stroke="black" points="427.33,-325.61 437.33,-322.11 427.33,-318.61 427.33,-325.61"/>
</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/grid/grid.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="../directives/ColumnDirective.html">ColumnDirective</a>
</li>
<li class="list-group-item">
<a href="../directives/GridDirective.html">GridDirective</a>
</li>
<li class="list-group-item">
<a href="../directives/RowDirective.html">RowDirective</a>
</li>
</ul>
</div>
<div class="col-sm-3">
<h3>Providers<a href="https://angular.io/api/core/NgModule#providers" target="_blank" rel="noopener noreferrer"
title="Official documentation about module providers"><span class="icon ion-ios-information-circle-outline"></a></h3>
<ul class="list-group">
<li class="list-group-item">
<a href="../injectables/GridService.html">GridService</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="../directives/ColumnDirective.html">ColumnDirective</a>
</li>
<li class="list-group-item">
<a href="../directives/GridDirective.html">GridDirective</a>
</li>
<li class="list-group-item">
<a href="../directives/RowDirective.html">RowDirective</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 { ColumnDirective } from "./column.directive";
import { RowDirective } from "./row.directive";
import { GridDirective } from "./grid.directive";
import { GridService } from "./grid.service";
@NgModule({
declarations: [
ColumnDirective,
GridDirective,
RowDirective
],
exports: [
ColumnDirective,
GridDirective,
RowDirective
],
providers: [GridService],
imports: [CommonModule]
})
export class GridModule {}
</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 = 'GridModule.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>