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="clust2" class="cluster">
<title>cluster_InputModule_declarations</title>
<polygon fill="none" stroke="black" points="359,-78 359,-130 1304,-130 1304,-78 359,-78"/>
</g>
<g id="clust11" class="cluster">
<title>cluster_InputModule_exports</title>
<polygon fill="none" stroke="black" points="189,-208 189,-260 1154,-260 1154,-208 189,-208"/>
</g>
<g id="clust10" class="cluster">
<title>cluster_InputModule_imports</title>
<polygon fill="none" stroke="black" points="16,-78 16,-130 351,-130 351,-78 16,-78"/>
</g>
<!-- Label -->
<g id="node1" class="node">
<title>Label</title>
<polygon fill="#ffffb3" stroke="black" points="1296,-122 1242,-122 1242,-86 1296,-86 1296,-122"/>
<text text-anchor="middle" x="1269" 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="744.6,-187 741.6,-191 720.6,-191 717.6,-187 655.4,-187 655.4,-151 744.6,-151 744.6,-187"/>
<text text-anchor="middle" x="700" 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="M1269,-122.22C1269,-142.37 1269,-172 1269,-172 1269,-172 754.65,-172 754.65,-172"/>
<polygon fill="black" stroke="black" points="754.65,-168.5 744.65,-172 754.65,-175.5 754.65,-168.5"/>
</g>
<!-- PasswordInput -->
<g id="node2" class="node">
<title>PasswordInput</title>
<polygon fill="#ffffb3" stroke="black" points="1223.71,-122 1124.29,-122 1124.29,-86 1223.71,-86 1223.71,-122"/>
<text text-anchor="middle" x="1174" 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="M1135.2,-122.22C1135.2,-140.83 1135.2,-167 1135.2,-167 1135.2,-167 754.93,-167 754.93,-167"/>
<polygon fill="black" stroke="black" points="754.93,-163.5 744.93,-167 754.93,-170.5 754.93,-163.5"/>
</g>
<!-- PasswordInputLabelComponent -->
<g id="node3" class="node">
<title>PasswordInputLabelComponent</title>
<polygon fill="#ffffb3" stroke="black" points="1106.41,-122 909.59,-122 909.59,-86 1106.41,-86 1106.41,-122"/>
<text text-anchor="middle" x="1008" 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="M931.88,-122.03C931.88,-139.06 931.88,-162 931.88,-162 931.88,-162 754.71,-162 754.71,-162"/>
<polygon fill="black" stroke="black" points="754.71,-158.5 744.71,-162 754.71,-165.5 754.71,-158.5"/>
</g>
<!-- TextArea -->
<g id="node4" class="node">
<title>TextArea</title>
<polygon fill="#ffffb3" stroke="black" points="891.35,-122 822.65,-122 822.65,-86 891.35,-86 891.35,-122"/>
<text text-anchor="middle" x="857" 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="M857,-122.24C857,-137.57 857,-157 857,-157 857,-157 754.57,-157 754.57,-157"/>
<polygon fill="black" stroke="black" points="754.57,-153.5 744.57,-157 754.57,-160.5 754.57,-153.5"/>
</g>
<!-- TextInput -->
<g id="node5" class="node">
<title>TextInput</title>
<polygon fill="#ffffb3" stroke="black" points="804.71,-122 733.29,-122 733.29,-86 804.71,-86 804.71,-122"/>
<text text-anchor="middle" x="769" 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="M738.97,-122.11C738.97,-122.11 738.97,-140.99 738.97,-140.99"/>
<polygon fill="black" stroke="black" points="735.47,-140.99 738.97,-150.99 742.47,-140.99 735.47,-140.99"/>
</g>
<!-- TextInputLabelComponent -->
<g id="node6" class="node">
<title>TextInputLabelComponent</title>
<polygon fill="#ffffb3" stroke="black" points="715.41,-122 546.59,-122 546.59,-86 715.41,-86 715.41,-122"/>
<text text-anchor="middle" x="631" 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="M685.33,-122.11C685.33,-122.11 685.33,-140.99 685.33,-140.99"/>
<polygon fill="black" stroke="black" points="681.83,-140.99 685.33,-150.99 688.83,-140.99 681.83,-140.99"/>
</g>
<!-- TextareaLabelComponent -->
<g id="node7" class="node">
<title>TextareaLabelComponent</title>
<polygon fill="#ffffb3" stroke="black" points="529.17,-122 366.83,-122 366.83,-86 529.17,-86 529.17,-122"/>
<text text-anchor="middle" x="448" 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="M455.06,-122.24C455.06,-137.57 455.06,-157 455.06,-157 455.06,-157 645.36,-157 645.36,-157"/>
<polygon fill="black" stroke="black" points="645.36,-160.5 655.36,-157 645.36,-153.5 645.36,-160.5"/>
</g>
<!-- Label -->
<g id="node12" class="node">
<title>Label </title>
<polygon fill="#fb8072" stroke="black" points="1146,-252 1092,-252 1092,-216 1146,-216 1146,-252"/>
<text text-anchor="middle" x="1119" 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="M744.62,-177C848.76,-177 1099.1,-177 1099.1,-177 1099.1,-177 1099.1,-205.96 1099.1,-205.96"/>
<polygon fill="black" stroke="black" points="1095.6,-205.96 1099.1,-215.96 1102.6,-205.96 1095.6,-205.96"/>
</g>
<!-- PasswordInput -->
<g id="node13" class="node">
<title>PasswordInput </title>
<polygon fill="#fb8072" stroke="black" points="1074.21,-252 971.79,-252 971.79,-216 1074.21,-216 1074.21,-252"/>
<text text-anchor="middle" x="1023" 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="M744.57,-182C833.18,-182 1023,-182 1023,-182 1023,-182 1023,-205.81 1023,-205.81"/>
<polygon fill="black" stroke="black" points="1019.5,-205.81 1023,-215.81 1026.5,-205.81 1019.5,-205.81"/>
</g>
<!-- PasswordInputLabelComponent -->
<g id="node14" class="node">
<title>PasswordInputLabelComponent </title>
<polygon fill="#fb8072" stroke="black" points="953.91,-252 754.09,-252 754.09,-216 953.91,-216 953.91,-252"/>
<text text-anchor="middle" x="854" 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="M740.36,-187.11C740.36,-206.34 740.36,-234 740.36,-234 740.36,-234 743.85,-234 743.85,-234"/>
<polygon fill="black" stroke="black" points="743.85,-237.5 753.85,-234 743.85,-230.5 743.85,-237.5"/>
</g>
<!-- TextArea -->
<g id="node15" class="node">
<title>TextArea </title>
<polygon fill="#fb8072" stroke="black" points="736.36,-252 663.64,-252 663.64,-216 736.36,-216 736.36,-252"/>
<text text-anchor="middle" x="700" 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="M700,-187.11C700,-187.11 700,-205.99 700,-205.99"/>
<polygon fill="black" stroke="black" points="696.5,-205.99 700,-215.99 703.5,-205.99 696.5,-205.99"/>
</g>
<!-- TextInput -->
<g id="node16" class="node">
<title>TextInput </title>
<polygon fill="#fb8072" stroke="black" points="645.21,-252 570.79,-252 570.79,-216 645.21,-216 645.21,-252"/>
<text text-anchor="middle" x="608" 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="M659.64,-187.11C659.64,-206.34 659.64,-234 659.64,-234 659.64,-234 655.25,-234 655.25,-234"/>
<polygon fill="black" stroke="black" points="655.25,-230.5 645.25,-234 655.25,-237.5 655.25,-230.5"/>
</g>
<!-- TextInputLabelComponent -->
<g id="node17" class="node">
<title>TextInputLabelComponent </title>
<polygon fill="#fb8072" stroke="black" points="552.91,-252 381.09,-252 381.09,-216 552.91,-216 552.91,-252"/>
<text text-anchor="middle" x="467" 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="M655.29,-182C607.32,-182 537.94,-182 537.94,-182 537.94,-182 537.94,-205.81 537.94,-205.81"/>
<polygon fill="black" stroke="black" points="534.44,-205.81 537.94,-215.81 541.44,-205.81 534.44,-205.81"/>
</g>
<!-- TextareaLabelComponent -->
<g id="node18" class="node">
<title>TextareaLabelComponent </title>
<polygon fill="#fb8072" stroke="black" points="362.67,-252 197.33,-252 197.33,-216 362.67,-216 362.67,-252"/>
<text text-anchor="middle" x="280" 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="M655.32,-177C561.56,-177 352.83,-177 352.83,-177 352.83,-177 352.83,-205.96 352.83,-205.96"/>
<polygon fill="black" stroke="black" points="349.33,-205.96 352.83,-215.96 356.33,-205.96 349.33,-205.96"/>
</g>
<!-- ButtonModule -->
<g id="node9" class="node">
<title>ButtonModule</title>
<polygon fill="#8dd3c7" stroke="black" points="342.67,-122 339.67,-126 318.67,-126 315.67,-122 245.33,-122 245.33,-86 342.67,-86 342.67,-122"/>
<text text-anchor="middle" x="294" 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="M294,-122.03C294,-139.06 294,-162 294,-162 294,-162 645.39,-162 645.39,-162"/>
<polygon fill="black" stroke="black" points="645.39,-165.5 655.39,-162 645.39,-158.5 645.39,-165.5"/>
</g>
<!-- IconModule -->
<g id="node10" class="node">
<title>IconModule</title>
<polygon fill="#8dd3c7" stroke="black" points="227.43,-122 224.43,-126 203.43,-126 200.43,-122 142.57,-122 142.57,-86 227.43,-86 227.43,-122"/>
<text text-anchor="middle" x="185" 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="M212.19,-122.22C212.19,-140.83 212.19,-167 212.19,-167 212.19,-167 645.42,-167 645.42,-167"/>
<polygon fill="black" stroke="black" points="645.42,-170.5 655.42,-167 645.42,-163.5 645.42,-170.5"/>
</g>
<!-- TooltipModule -->
<g id="node11" class="node">
<title>TooltipModule</title>
<polygon fill="#8dd3c7" stroke="black" points="124.27,-122 121.27,-126 100.27,-126 97.27,-122 23.73,-122 23.73,-86 124.27,-86 124.27,-122"/>
<text text-anchor="middle" x="74" 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="M74,-122.22C74,-142.37 74,-172 74,-172 74,-172 644.98,-172 644.98,-172"/>
<polygon fill="black" stroke="black" points="644.98,-175.5 654.98,-172 644.98,-168.5 644.98,-175.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>