carbon-components-angular
Version:
Next generation components
641 lines (576 loc) • 29.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">
<style>
footer.carbon {
position: absolute;
bottom: 0;
width: 100%;
z-index: 9999;
}
#root > div {
/*
* Subtracting the height of the footer to prevent
* overlaying the footer ontop of content
*/
height: calc(100vh - 48px);
}
</style>
</head>
<body>
<script>
// Blocking script to avoid flickering dark mode
// Dark mode toggle button
var useDark = window.matchMedia('(prefers-color-scheme: dark)');
var darkModeState = useDark.matches;
var $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
var $darkModeToggles = document.querySelectorAll('.dark-mode-switch');
var darkModeStateLocal = localStorage.getItem('compodoc_darkmode-state');
function checkToggle(check) {
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
$darkModeToggleSwitchers[i].checked = check;
}
}
function toggleDarkMode(state) {
if (window.localStorage) {
localStorage.setItem('compodoc_darkmode-state', state);
}
checkToggle(state);
const hasClass = document.body.classList.contains('dark');
if (state) {
for (var i = 0; i < $darkModeToggles.length; i++) {
$darkModeToggles[i].classList.add('dark');
}
if (!hasClass) {
document.body.classList.add('dark');
}
} else {
for (var i = 0; i < $darkModeToggles.length; i++) {
$darkModeToggles[i].classList.remove('dark');
}
if (hasClass) {
document.body.classList.remove('dark');
}
}
}
useDark.addEventListener('change', function (evt) {
toggleDarkMode(evt.matches);
});
if (darkModeStateLocal) {
darkModeState = darkModeStateLocal === 'true';
}
toggleDarkMode(darkModeState);
</script>
<div class="navbar navbar-default navbar-fixed-top d-md-none p-0">
<div class="d-flex">
<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>
<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="d-none d-md-block 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" >InputModule</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="1328pt" height="284pt"
viewBox="0.00 0.00 1328.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 1324,-280 1324,4 -4,4"/>
<text text-anchor="start" x="639.01" y="-42.4" font-family="Times-12" font-weight="bold" font-size="14.00">Legend</text>
<polygon fill="#ffffb3" stroke="transparent" points="426,-10 426,-30 446,-30 446,-10 426,-10"/>
<text text-anchor="start" x="449.63" y="-15.4" font-family="Times-12" font-size="14.00">  Declarations</text>
<polygon fill="#8dd3c7" stroke="transparent" points="539,-10 539,-30 559,-30 559,-10 539,-10"/>
<text text-anchor="start" x="562.73" y="-15.4" font-family="Times-12" font-size="14.00">  Module</text>
<polygon fill="#80b1d3" stroke="transparent" points="625,-10 625,-30 645,-30 645,-10 625,-10"/>
<text text-anchor="start" x="648.78" y="-15.4" font-family="Times-12" font-size="14.00">  Bootstrap</text>
<polygon fill="#fdb462" stroke="transparent" points="722,-10 722,-30 742,-30 742,-10 722,-10"/>
<text text-anchor="start" x="745.67" y="-15.4" font-family="Times-12" font-size="14.00">  Providers</text>
<polygon fill="#fb8072" stroke="transparent" points="818,-10 818,-30 838,-30 838,-10 818,-10"/>
<text text-anchor="start" x="841.73" y="-15.4" font-family="Times-12" font-size="14.00">  Exports</text>
<g id="clust1" class="cluster">
<title>cluster_InputModule</title>
<polygon fill="none" stroke="black" stroke-dasharray="1,5" points="8,-70 8,-268 1312,-268 1312,-70 8,-70"/>
</g>
<g id="clust10" class="cluster">
<title>cluster_InputModule_imports</title>
<polygon fill="none" stroke="black" points="969,-78 969,-130 1304,-130 1304,-78 969,-78"/>
</g>
<g id="clust11" class="cluster">
<title>cluster_InputModule_exports</title>
<polygon fill="none" stroke="black" points="237,-208 237,-260 1202,-260 1202,-208 237,-208"/>
</g>
<g id="clust2" class="cluster">
<title>cluster_InputModule_declarations</title>
<polygon fill="none" stroke="black" points="16,-78 16,-130 961,-130 961,-78 16,-78"/>
</g>
<!-- Label -->
<g id="node1" class="node">
<title>Label</title>
<polygon fill="#ffffb3" stroke="black" points="953,-122 899,-122 899,-86 953,-86 953,-122"/>
<text text-anchor="middle" x="926" y="-99.8" font-family="Times,serif" font-size="14.00">Label</text>
</g>
<!-- InputModule -->
<g id="node8" class="node">
<title>InputModule</title>
<polygon fill="#8dd3c7" stroke="black" points="792.6,-187 789.6,-191 768.6,-191 765.6,-187 703.4,-187 703.4,-151 792.6,-151 792.6,-187"/>
<text text-anchor="middle" x="748" y="-164.8" font-family="Times,serif" font-size="14.00">InputModule</text>
</g>
<!-- Label->InputModule -->
<g id="edge1" class="edge">
<title>Label->InputModule</title>
<path fill="none" stroke="black" d="M926,-122.24C926,-137.57 926,-157 926,-157 926,-157 802.92,-157 802.92,-157"/>
<polygon fill="black" stroke="black" points="802.92,-153.5 792.92,-157 802.92,-160.5 802.92,-153.5"/>
</g>
<!-- PasswordInput -->
<g id="node2" class="node">
<title>PasswordInput</title>
<polygon fill="#ffffb3" stroke="black" points="880.71,-122 781.29,-122 781.29,-86 880.71,-86 880.71,-122"/>
<text text-anchor="middle" x="831" y="-99.8" font-family="Times,serif" font-size="14.00">PasswordInput</text>
</g>
<!-- PasswordInput->InputModule -->
<g id="edge2" class="edge">
<title>PasswordInput->InputModule</title>
<path fill="none" stroke="black" d="M786.97,-122.11C786.97,-122.11 786.97,-140.99 786.97,-140.99"/>
<polygon fill="black" stroke="black" points="783.47,-140.99 786.97,-150.99 790.47,-140.99 783.47,-140.99"/>
</g>
<!-- PasswordInputLabelComponent -->
<g id="node3" class="node">
<title>PasswordInputLabelComponent</title>
<polygon fill="#ffffb3" stroke="black" points="763.41,-122 566.59,-122 566.59,-86 763.41,-86 763.41,-122"/>
<text text-anchor="middle" x="665" y="-99.8" font-family="Times,serif" font-size="14.00">PasswordInputLabelComponent</text>
</g>
<!-- PasswordInputLabelComponent->InputModule -->
<g id="edge3" class="edge">
<title>PasswordInputLabelComponent->InputModule</title>
<path fill="none" stroke="black" d="M733.33,-122.11C733.33,-122.11 733.33,-140.99 733.33,-140.99"/>
<polygon fill="black" stroke="black" points="729.83,-140.99 733.33,-150.99 736.83,-140.99 729.83,-140.99"/>
</g>
<!-- TextArea -->
<g id="node4" class="node">
<title>TextArea</title>
<polygon fill="#ffffb3" stroke="black" points="548.35,-122 479.65,-122 479.65,-86 548.35,-86 548.35,-122"/>
<text text-anchor="middle" x="514" y="-99.8" font-family="Times,serif" font-size="14.00">TextArea</text>
</g>
<!-- TextArea->InputModule -->
<g id="edge4" class="edge">
<title>TextArea->InputModule</title>
<path fill="none" stroke="black" d="M514,-122.24C514,-137.57 514,-157 514,-157 514,-157 693.44,-157 693.44,-157"/>
<polygon fill="black" stroke="black" points="693.44,-160.5 703.44,-157 693.44,-153.5 693.44,-160.5"/>
</g>
<!-- TextInput -->
<g id="node5" class="node">
<title>TextInput</title>
<polygon fill="#ffffb3" stroke="black" points="461.71,-122 390.29,-122 390.29,-86 461.71,-86 461.71,-122"/>
<text text-anchor="middle" x="426" y="-99.8" font-family="Times,serif" font-size="14.00">TextInput</text>
</g>
<!-- TextInput->InputModule -->
<g id="edge5" class="edge">
<title>TextInput->InputModule</title>
<path fill="none" stroke="black" d="M445.32,-122.03C445.32,-139.06 445.32,-162 445.32,-162 445.32,-162 693.34,-162 693.34,-162"/>
<polygon fill="black" stroke="black" points="693.34,-165.5 703.34,-162 693.34,-158.5 693.34,-165.5"/>
</g>
<!-- TextInputLabelComponent -->
<g id="node6" class="node">
<title>TextInputLabelComponent</title>
<polygon fill="#ffffb3" stroke="black" points="372.41,-122 203.59,-122 203.59,-86 372.41,-86 372.41,-122"/>
<text text-anchor="middle" x="288" y="-99.8" font-family="Times,serif" font-size="14.00">TextInputLabelComponent</text>
</g>
<!-- TextInputLabelComponent->InputModule -->
<g id="edge6" class="edge">
<title>TextInputLabelComponent->InputModule</title>
<path fill="none" stroke="black" d="M308.69,-122.22C308.69,-140.83 308.69,-167 308.69,-167 308.69,-167 693.05,-167 693.05,-167"/>
<polygon fill="black" stroke="black" points="693.05,-170.5 703.05,-167 693.05,-163.5 693.05,-170.5"/>
</g>
<!-- TextareaLabelComponent -->
<g id="node7" class="node">
<title>TextareaLabelComponent</title>
<polygon fill="#ffffb3" stroke="black" points="186.17,-122 23.83,-122 23.83,-86 186.17,-86 186.17,-122"/>
<text text-anchor="middle" x="105" y="-99.8" font-family="Times,serif" font-size="14.00">TextareaLabelComponent</text>
</g>
<!-- TextareaLabelComponent->InputModule -->
<g id="edge7" class="edge">
<title>TextareaLabelComponent->InputModule</title>
<path fill="none" stroke="black" d="M105,-122.22C105,-142.37 105,-172 105,-172 105,-172 693.3,-172 693.3,-172"/>
<polygon fill="black" stroke="black" points="693.3,-175.5 703.3,-172 693.3,-168.5 693.3,-175.5"/>
</g>
<!-- Label -->
<g id="node12" class="node">
<title>Label </title>
<polygon fill="#fb8072" stroke="black" points="1194,-252 1140,-252 1140,-216 1194,-216 1194,-252"/>
<text text-anchor="middle" x="1167" y="-229.8" font-family="Times,serif" font-size="14.00">Label </text>
</g>
<!-- InputModule->Label -->
<g id="edge11" class="edge">
<title>InputModule->Label </title>
<path fill="none" stroke="black" stroke-dasharray="5,2" d="M792.89,-177C899.7,-177 1160.11,-177 1160.11,-177 1160.11,-177 1160.11,-205.96 1160.11,-205.96"/>
<polygon fill="black" stroke="black" points="1156.61,-205.96 1160.11,-215.96 1163.61,-205.96 1156.61,-205.96"/>
</g>
<!-- PasswordInput -->
<g id="node13" class="node">
<title>PasswordInput </title>
<polygon fill="#fb8072" stroke="black" points="1122.21,-252 1019.79,-252 1019.79,-216 1122.21,-216 1122.21,-252"/>
<text text-anchor="middle" x="1071" y="-229.8" font-family="Times,serif" font-size="14.00">PasswordInput </text>
</g>
<!-- InputModule->PasswordInput -->
<g id="edge12" class="edge">
<title>InputModule->PasswordInput </title>
<path fill="none" stroke="black" stroke-dasharray="5,2" d="M792.67,-182C876.38,-182 1048.52,-182 1048.52,-182 1048.52,-182 1048.52,-205.81 1048.52,-205.81"/>
<polygon fill="black" stroke="black" points="1045.02,-205.81 1048.52,-215.81 1052.02,-205.81 1045.02,-205.81"/>
</g>
<!-- PasswordInputLabelComponent -->
<g id="node14" class="node">
<title>PasswordInputLabelComponent </title>
<polygon fill="#fb8072" stroke="black" points="1001.91,-252 802.09,-252 802.09,-216 1001.91,-216 1001.91,-252"/>
<text text-anchor="middle" x="902" y="-229.8" font-family="Times,serif" font-size="14.00">PasswordInputLabelComponent </text>
</g>
<!-- InputModule->PasswordInputLabelComponent -->
<g id="edge13" class="edge">
<title>InputModule->PasswordInputLabelComponent </title>
<path fill="none" stroke="black" stroke-dasharray="5,2" d="M788.36,-187.11C788.36,-206.34 788.36,-234 788.36,-234 788.36,-234 791.85,-234 791.85,-234"/>
<polygon fill="black" stroke="black" points="791.85,-237.5 801.85,-234 791.85,-230.5 791.85,-237.5"/>
</g>
<!-- TextArea -->
<g id="node15" class="node">
<title>TextArea </title>
<polygon fill="#fb8072" stroke="black" points="784.36,-252 711.64,-252 711.64,-216 784.36,-216 784.36,-252"/>
<text text-anchor="middle" x="748" y="-229.8" font-family="Times,serif" font-size="14.00">TextArea </text>
</g>
<!-- InputModule->TextArea -->
<g id="edge14" class="edge">
<title>InputModule->TextArea </title>
<path fill="none" stroke="black" stroke-dasharray="5,2" d="M748,-187.11C748,-187.11 748,-205.99 748,-205.99"/>
<polygon fill="black" stroke="black" points="744.5,-205.99 748,-215.99 751.5,-205.99 744.5,-205.99"/>
</g>
<!-- TextInput -->
<g id="node16" class="node">
<title>TextInput </title>
<polygon fill="#fb8072" stroke="black" points="693.21,-252 618.79,-252 618.79,-216 693.21,-216 693.21,-252"/>
<text text-anchor="middle" x="656" y="-229.8" font-family="Times,serif" font-size="14.00">TextInput </text>
</g>
<!-- InputModule->TextInput -->
<g id="edge15" class="edge">
<title>InputModule->TextInput </title>
<path fill="none" stroke="black" stroke-dasharray="5,2" d="M707.64,-187.11C707.64,-206.34 707.64,-234 707.64,-234 707.64,-234 703.25,-234 703.25,-234"/>
<polygon fill="black" stroke="black" points="703.25,-230.5 693.25,-234 703.25,-237.5 703.25,-230.5"/>
</g>
<!-- TextInputLabelComponent -->
<g id="node17" class="node">
<title>TextInputLabelComponent </title>
<polygon fill="#fb8072" stroke="black" points="600.91,-252 429.09,-252 429.09,-216 600.91,-216 600.91,-252"/>
<text text-anchor="middle" x="515" y="-229.8" font-family="Times,serif" font-size="14.00">TextInputLabelComponent </text>
</g>
<!-- InputModule->TextInputLabelComponent -->
<g id="edge16" class="edge">
<title>InputModule->TextInputLabelComponent </title>
<path fill="none" stroke="black" stroke-dasharray="5,2" d="M703.15,-182C654.56,-182 583.88,-182 583.88,-182 583.88,-182 583.88,-205.81 583.88,-205.81"/>
<polygon fill="black" stroke="black" points="580.38,-205.81 583.88,-215.81 587.38,-205.81 580.38,-205.81"/>
</g>
<!-- TextareaLabelComponent -->
<g id="node18" class="node">
<title>TextareaLabelComponent </title>
<polygon fill="#fb8072" stroke="black" points="410.67,-252 245.33,-252 245.33,-216 410.67,-216 410.67,-252"/>
<text text-anchor="middle" x="328" y="-229.8" font-family="Times,serif" font-size="14.00">TextareaLabelComponent </text>
</g>
<!-- InputModule->TextareaLabelComponent -->
<g id="edge17" class="edge">
<title>InputModule->TextareaLabelComponent </title>
<path fill="none" stroke="black" stroke-dasharray="5,2" d="M703.3,-177C609.47,-177 400.61,-177 400.61,-177 400.61,-177 400.61,-205.96 400.61,-205.96"/>
<polygon fill="black" stroke="black" points="397.11,-205.96 400.61,-215.96 404.11,-205.96 397.11,-205.96"/>
</g>
<!-- ButtonModule -->
<g id="node9" class="node">
<title>ButtonModule</title>
<polygon fill="#8dd3c7" stroke="black" points="1295.67,-122 1292.67,-126 1271.67,-126 1268.67,-122 1198.33,-122 1198.33,-86 1295.67,-86 1295.67,-122"/>
<text text-anchor="middle" x="1247" y="-99.8" font-family="Times,serif" font-size="14.00">ButtonModule</text>
</g>
<!-- ButtonModule->InputModule -->
<g id="edge8" class="edge">
<title>ButtonModule->InputModule</title>
<path fill="none" stroke="black" d="M1247,-122.22C1247,-142.37 1247,-172 1247,-172 1247,-172 802.72,-172 802.72,-172"/>
<polygon fill="black" stroke="black" points="802.72,-168.5 792.72,-172 802.72,-175.5 802.72,-168.5"/>
</g>
<!-- IconModule -->
<g id="node10" class="node">
<title>IconModule</title>
<polygon fill="#8dd3c7" stroke="black" points="1180.43,-122 1177.43,-126 1156.43,-126 1153.43,-122 1095.57,-122 1095.57,-86 1180.43,-86 1180.43,-122"/>
<text text-anchor="middle" x="1138" y="-99.8" font-family="Times,serif" font-size="14.00">IconModule</text>
</g>
<!-- IconModule->InputModule -->
<g id="edge9" class="edge">
<title>IconModule->InputModule</title>
<path fill="none" stroke="black" d="M1109.07,-122.22C1109.07,-140.83 1109.07,-167 1109.07,-167 1109.07,-167 802.64,-167 802.64,-167"/>
<polygon fill="black" stroke="black" points="802.64,-163.5 792.64,-167 802.64,-170.5 802.64,-163.5"/>
</g>
<!-- TooltipModule -->
<g id="node11" class="node">
<title>TooltipModule</title>
<polygon fill="#8dd3c7" stroke="black" points="1077.27,-122 1074.27,-126 1053.27,-126 1050.27,-122 976.73,-122 976.73,-86 1077.27,-86 1077.27,-122"/>
<text text-anchor="middle" x="1027" y="-99.8" font-family="Times,serif" font-size="14.00">TooltipModule</text>
</g>
<!-- TooltipModule->InputModule -->
<g id="edge10" class="edge">
<title>TooltipModule->InputModule</title>
<path fill="none" stroke="black" d="M989.28,-122.03C989.28,-139.06 989.28,-162 989.28,-162 989.28,-162 802.82,-162 802.82,-162"/>
<polygon fill="black" stroke="black" points="802.82,-158.5 792.82,-162 802.82,-165.5 802.82,-158.5"/>
</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/input/input.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/Label.html">Label</a>
</li>
<li class="list-group-item">
<a href="../directives/PasswordInput.html">PasswordInput</a>
</li>
<li class="list-group-item">
<a href="../components/PasswordInputLabelComponent.html">PasswordInputLabelComponent</a>
</li>
<li class="list-group-item">
<a href="../directives/TextArea.html">TextArea</a>
</li>
<li class="list-group-item">
<a href="../directives/TextInput.html">TextInput</a>
</li>
<li class="list-group-item">
<a href="../components/TextInputLabelComponent.html">TextInputLabelComponent</a>
</li>
<li class="list-group-item">
<a href="../components/TextareaLabelComponent.html">TextareaLabelComponent</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/ButtonModule.html">ButtonModule</a>
</li>
<li class="list-group-item">
<a href="../modules/IconModule.html">IconModule</a>
</li>
<li class="list-group-item">
<a href="../modules/TooltipModule.html">TooltipModule</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/Label.html">Label</a>
</li>
<li class="list-group-item">
<a href="../directives/PasswordInput.html">PasswordInput</a>
</li>
<li class="list-group-item">
<a href="../components/PasswordInputLabelComponent.html">PasswordInputLabelComponent</a>
</li>
<li class="list-group-item">
<a href="../directives/TextArea.html">TextArea</a>
</li>
<li class="list-group-item">
<a href="../directives/TextInput.html">TextInput</a>
</li>
<li class="list-group-item">
<a href="../components/TextInputLabelComponent.html">TextInputLabelComponent</a>
</li>
<li class="list-group-item">
<a href="../components/TextareaLabelComponent.html">TextareaLabelComponent</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">// modules
import { NgModule } from "@angular/core";
import { FormsModule } from "@angular/forms";
import { CommonModule } from "@angular/common";
// imports
import { Label } from "./label.component";
import { TextInput } from "./input.directive";
import { TextArea } from "./text-area.directive";
import { TextareaLabelComponent } from "./textarea-label.component";
import { TextInputLabelComponent } from "./text-input-label.component";
import { IconModule } from "carbon-components-angular/icon";
import { PasswordInput } from "./password.directive";
import { PasswordInputLabelComponent } from "./password-input-label.component";
import { TooltipModule } from "carbon-components-angular/tooltip";
import { ButtonModule } from "carbon-components-angular/button";
@NgModule({
declarations: [
Label,
TextInput,
TextArea,
PasswordInput,
TextareaLabelComponent,
TextInputLabelComponent,
PasswordInputLabelComponent
],
exports: [
Label,
TextareaLabelComponent,
TextInputLabelComponent,
PasswordInputLabelComponent,
TextInput,
TextArea,
PasswordInput
],
imports: [
CommonModule,
FormsModule,
IconModule,
ButtonModule,
TooltipModule
]
})
export class InputModule { }
</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 = 'InputModule.html';
var MAX_SEARCH_RESULTS = 15;
</script>
<script>
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
checkToggle(darkModeState);
if ($darkModeToggleSwitchers.length > 0) {
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
darkModeState = !darkModeState;
toggleDarkMode(darkModeState);
});
}
}
</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>
<footer class="carbon">
<dds-footer-container key="footer" disable-locale-button="true" size="micro" />
</footer>
<script
key="8"
type="module"
src="https://1.www.s81c.com/common/carbon-for-ibm-dotcom/tag/v1/latest/footer.min.js">
</script>
<!-- Storybook override -->
<script>
document.title = "Carbon Components Angular";
</script>
<script
src="//1.www.s81c.com/common/stats/ibm-common.js"
type="text/javascript"
async="async">
</script>
</body>
</html>