carbon-components-angular
Version:
Next generation components
378 lines (327 loc) • 17.1 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" >DatePickerModule</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="680pt" height="396pt"
viewBox="0.00 0.00 680.00 395.59" 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 391.59)">
<title>dependencies</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-391.59 676,-391.59 676,4 -4,4"/>
<text text-anchor="start" x="315.01" y="-42.4" font-family="Times-12" font-weight="bold" font-size="14.00">Legend</text>
<polygon fill="#ffffb3" stroke="transparent" points="102,-10 102,-30 122,-30 122,-10 102,-10"/>
<text text-anchor="start" x="125.63" y="-15.4" font-family="Times-12" font-size="14.00">  Declarations</text>
<polygon fill="#8dd3c7" stroke="transparent" points="215,-10 215,-30 235,-30 235,-10 215,-10"/>
<text text-anchor="start" x="238.73" y="-15.4" font-family="Times-12" font-size="14.00">  Module</text>
<polygon fill="#80b1d3" stroke="transparent" points="301,-10 301,-30 321,-30 321,-10 301,-10"/>
<text text-anchor="start" x="324.78" y="-15.4" font-family="Times-12" font-size="14.00">  Bootstrap</text>
<polygon fill="#fdb462" stroke="transparent" points="398,-10 398,-30 418,-30 418,-10 398,-10"/>
<text text-anchor="start" x="421.67" y="-15.4" font-family="Times-12" font-size="14.00">  Providers</text>
<polygon fill="#fb8072" stroke="transparent" points="494,-10 494,-30 514,-30 514,-10 494,-10"/>
<text text-anchor="start" x="517.73" y="-15.4" font-family="Times-12" font-size="14.00">  Exports</text>
<g id="clust1" class="cluster">
<title>cluster_DatePickerModule</title>
<polygon fill="none" stroke="black" stroke-dasharray="1,5" points="8,-70 8,-379.59 664,-379.59 664,-70 8,-70"/>
</g>
<g id="clust4" class="cluster">
<title>cluster_DatePickerModule_imports</title>
<polygon fill="none" stroke="black" points="281,-189.59 281,-241.59 656,-241.59 656,-189.59 281,-189.59"/>
</g>
<g id="clust2" class="cluster">
<title>cluster_DatePickerModule_declarations</title>
<polygon fill="none" stroke="black" points="179,-189.59 179,-241.59 273,-241.59 273,-189.59 179,-189.59"/>
</g>
<g id="clust3" class="cluster">
<title>cluster_DatePickerModule_DatePicker_providers</title>
<polygon fill="none" stroke="black" points="16,-78 16,-176.59 656,-176.59 656,-78 16,-78"/>
</g>
<g id="clust5" class="cluster">
<title>cluster_DatePickerModule_exports</title>
<polygon fill="none" stroke="black" points="231,-319.59 231,-371.59 501,-371.59 501,-319.59 231,-319.59"/>
</g>
<!-- DatePicker -->
<g id="node1" class="node">
<title>DatePicker</title>
<polygon fill="#ffffb3" stroke="black" points="265.19,-233.59 186.81,-233.59 186.81,-197.59 265.19,-197.59 265.19,-233.59"/>
<text text-anchor="middle" x="226" y="-211.39" font-family="Times,serif" font-size="14.00">DatePicker</text>
</g>
<!-- DatePickerModule -->
<g id="node2" class="node">
<title>DatePickerModule</title>
<polygon fill="#8dd3c7" stroke="black" points="444.74,-298.59 441.74,-302.59 420.74,-302.59 417.74,-298.59 323.26,-298.59 323.26,-262.59 444.74,-262.59 444.74,-298.59"/>
<text text-anchor="middle" x="384" y="-276.39" font-family="Times,serif" font-size="14.00">DatePickerModule</text>
</g>
<!-- DatePicker->DatePickerModule -->
<g id="edge1" class="edge">
<title>DatePicker->DatePickerModule</title>
<path fill="none" stroke="black" d="M251.85,-233.7C251.85,-252.93 251.85,-280.59 251.85,-280.59 251.85,-280.59 312.95,-280.59 312.95,-280.59"/>
<polygon fill="black" stroke="black" points="312.95,-284.09 322.95,-280.59 312.95,-277.09 312.95,-284.09"/>
</g>
<!-- DatePicker -->
<g id="node7" class="node">
<title>DatePicker </title>
<polygon fill="#fb8072" stroke="black" points="492.69,-363.59 411.31,-363.59 411.31,-327.59 492.69,-327.59 492.69,-363.59"/>
<text text-anchor="middle" x="452" y="-341.39" font-family="Times,serif" font-size="14.00">DatePicker </text>
</g>
<!-- DatePickerModule->DatePicker -->
<g id="edge6" class="edge">
<title>DatePickerModule->DatePicker </title>
<path fill="none" stroke="black" stroke-dasharray="5,2" d="M428.01,-298.7C428.01,-298.7 428.01,-317.58 428.01,-317.58"/>
<polygon fill="black" stroke="black" points="424.51,-317.58 428.01,-327.58 431.51,-317.58 424.51,-317.58"/>
</g>
<!-- DatePickerInputModule -->
<g id="node8" class="node">
<title>DatePickerInputModule </title>
<polygon fill="#fb8072" stroke="black" points="393.29,-363.59 238.71,-363.59 238.71,-327.59 393.29,-327.59 393.29,-363.59"/>
<text text-anchor="middle" x="316" y="-341.39" font-family="Times,serif" font-size="14.00">DatePickerInputModule </text>
</g>
<!-- DatePickerModule->DatePickerInputModule -->
<g id="edge7" class="edge">
<title>DatePickerModule->DatePickerInputModule </title>
<path fill="none" stroke="black" stroke-dasharray="5,2" d="M358.26,-298.7C358.26,-298.7 358.26,-317.58 358.26,-317.58"/>
<polygon fill="black" stroke="black" points="354.76,-317.58 358.26,-327.58 361.76,-317.58 354.76,-317.58"/>
</g>
<!-- {
   provide: NG_VALUE_ACCESSOR, useExisting: DatePicker, multi: true
} -->
<g id="node3" class="node">
<title>{
   provide: NG_VALUE_ACCESSOR, useExisting: DatePicker, multi: true
}</title>
<ellipse fill="#fdb462" stroke="black" cx="336" cy="-127.3" rx="312.25" ry="41.09"/>
<text text-anchor="middle" x="336" y="-139.9" font-family="Times,serif" font-size="14.00">{</text>
<text text-anchor="middle" x="336" y="-123.1" font-family="Times,serif" font-size="14.00">    provide: NG_VALUE_ACCESSOR, useExisting: DatePicker, multi: true</text>
<text text-anchor="middle" x="336" y="-106.3" font-family="Times,serif" font-size="14.00">}</text>
</g>
<!-- {
   provide: NG_VALUE_ACCESSOR, useExisting: DatePicker, multi: true
}->DatePicker -->
<g id="edge2" class="edge">
<title>{
   provide: NG_VALUE_ACCESSOR, useExisting: DatePicker, multi: true
}->DatePicker</title>
<path fill="none" stroke="black" d="M226,-166.02C226,-166.02 226,-187.44 226,-187.44"/>
<polygon fill="black" stroke="black" points="222.5,-187.44 226,-197.44 229.5,-187.44 222.5,-187.44"/>
</g>
<!-- DatePickerInputModule -->
<g id="node4" class="node">
<title>DatePickerInputModule</title>
<polygon fill="#8dd3c7" stroke="black" points="647.79,-233.59 644.79,-237.59 623.79,-237.59 620.79,-233.59 496.21,-233.59 496.21,-197.59 647.79,-197.59 647.79,-233.59"/>
<text text-anchor="middle" x="572" y="-211.39" font-family="Times,serif" font-size="14.00">DatePickerInputModule</text>
</g>
<!-- DatePickerInputModule->DatePickerModule -->
<g id="edge3" class="edge">
<title>DatePickerInputModule->DatePickerModule</title>
<path fill="none" stroke="black" d="M572,-233.7C572,-252.93 572,-280.59 572,-280.59 572,-280.59 454.78,-280.59 454.78,-280.59"/>
<polygon fill="black" stroke="black" points="454.78,-277.09 444.78,-280.59 454.78,-284.09 454.78,-277.09"/>
</g>
<!-- I18nModule -->
<g id="node5" class="node">
<title>I18nModule</title>
<polygon fill="#8dd3c7" stroke="black" points="478.71,-233.59 475.71,-237.59 454.71,-237.59 451.71,-233.59 393.29,-233.59 393.29,-197.59 478.71,-197.59 478.71,-233.59"/>
<text text-anchor="middle" x="436" y="-211.39" font-family="Times,serif" font-size="14.00">I18nModule</text>
</g>
<!-- I18nModule->DatePickerModule -->
<g id="edge4" class="edge">
<title>I18nModule->DatePickerModule</title>
<path fill="none" stroke="black" d="M419.13,-233.7C419.13,-233.7 419.13,-252.58 419.13,-252.58"/>
<polygon fill="black" stroke="black" points="415.63,-252.58 419.13,-262.58 422.63,-252.58 415.63,-252.58"/>
</g>
<!-- UtilsModule -->
<g id="node6" class="node">
<title>UtilsModule</title>
<polygon fill="#8dd3c7" stroke="black" points="375.27,-233.59 372.27,-237.59 351.27,-237.59 348.27,-233.59 288.73,-233.59 288.73,-197.59 375.27,-197.59 375.27,-233.59"/>
<text text-anchor="middle" x="332" y="-211.39" font-family="Times,serif" font-size="14.00">UtilsModule</text>
</g>
<!-- UtilsModule->DatePickerModule -->
<g id="edge5" class="edge">
<title>UtilsModule->DatePickerModule</title>
<path fill="none" stroke="black" d="M349.26,-233.7C349.26,-233.7 349.26,-252.58 349.26,-252.58"/>
<polygon fill="black" stroke="black" points="345.76,-252.58 349.26,-262.58 352.76,-252.58 345.76,-252.58"/>
</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/datepicker/datepicker.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/DatePicker.html">DatePicker</a>
</li>
</ul>
</div>
<div class="col-sm-3">
<h3>Imports<a href="https://angular.io/api/core/NgModule#imports" target="_blank" rel="noopener noreferrer"
title="Official documentation about module imports"><span
class="icon ion-ios-information-circle-outline"></a></h3>
<ul class="list-group">
<li class="list-group-item">
<a href="../modules/DatePickerInputModule.html">DatePickerInputModule</a>
</li>
<li class="list-group-item">
<a href="../modules/I18nModule.html">I18nModule</a>
</li>
<li class="list-group-item">
<a href="../modules/UtilsModule.html">UtilsModule</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/DatePicker.html">DatePicker</a>
</li>
<li class="list-group-item">
<a href="../modules/DatePickerInputModule.html">DatePickerInputModule</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 { DatePickerInputModule } from "carbon-components-angular/datepicker-input";
import { NgModule } from "@angular/core";
import { CommonModule } from "@angular/common";
import { DatePicker } from "./datepicker.component";
import { UtilsModule } from "carbon-components-angular/utils";
import { I18nModule } from "carbon-components-angular/i18n";
@NgModule({
declarations: [
DatePicker
],
exports: [
DatePicker,
DatePickerInputModule
],
imports: [
CommonModule,
DatePickerInputModule,
UtilsModule,
I18nModule
]
})
export class DatePickerModule { }
</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 = 'DatePickerModule.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>