UNPKG

carbon-components-angular

Version:
4,988 lines 213 kB
<!doctype 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 component">
                   <div class="content-data">




<ol class="breadcrumb">
  <li class="breadcrumb-item">Components</li>
  <li class="breadcrumb-item"
  >
  Dropdown</li>
</ol>

<ul class="nav nav-tabs" role="tablist">
        <li class="nav-item">
            <a href="#info" 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>
        <li class="nav-item">
            <a href="#tree" class="nav-link"
                role="tab" id="tree-tab" data-bs-toggle="tab" data-link="dom-tree">DOM Tree</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/dropdown/dropdown.component.ts</code>
</p>


    <p class="comment">
        <h3>Description</h3>
    </p>
    <p class="comment">
        <p>Drop-down lists enable users to select one or more items from a list.</p>
<h4>Opening behavior/List DOM placement</h4>
<p>By default the dropdown will try to figure out the best placement for the dropdown list.</p>
<p>If it&#39;s not contained within any scrolling elements, it will open inline, if it <em>is</em>
contained within a scrolling container it will try to open in the body, or an <code>cds-placeholder</code>.</p>
<p>To control this behavior you can use the <code>appendInline</code> input:</p>
<ul>
<li><code>[appendInline]=&quot;null&quot;</code> is the default (auto detection)</li>
<li><code>[appendInline]=&quot;false&quot;</code> will always append to the body/<code>cds-placeholder</code></li>
<li><code>[appendInline]=&quot;true&quot;</code> will always append inline (next to the dropdown button)</li>
</ul>
<p>Get started with importing the module:</p>
<b>Example :</b><div><pre class="line-numbers"><code class="language-typescript">import { DropdownModule } from &#39;carbon-components-angular&#39;;</code></pre></div><p><a href="../../?path=/story/components-dropdown--basic">See demo</a></p>

    </p>


    <p class="comment">
        <h3>Implements</h3>
    </p>
    <p class="comment">
                <code>OnInit</code>
                <code>AfterContentInit</code>
                <code>AfterViewInit</code>
                <code>OnDestroy</code>
                <code>ControlValueAccessor</code>
    </p>


<section data-compodoc="block-metadata">
    <h3>Metadata</h3>
    <table class="table table-sm table-hover metadata">
        <tbody>










            <tr>
                <td class="col-md-3">providers</td>
                <td class="col-md-9">
                                <code><a href="../components/Dropdown.html" target="_self" >{
    provide: NG_VALUE_ACCESSOR, useExisting: Dropdown, multi: true
}</a></code>
                </td>
            </tr>


            <tr>
                <td class="col-md-3">selector</td>
                <td class="col-md-9"><code>cds-dropdown, ibm-dropdown</code></td>
            </tr>





            <tr>
                <td class="col-md-3">template</td>
                <td class="col-md-9"><pre class="line-numbers"><code class="language-html">&lt;label
	*ngIf&#x3D;&quot;label &amp;&amp; !skeleton&quot;
	[for]&#x3D;&quot;id&quot;
	class&#x3D;&quot;cds--label&quot;
	[ngClass]&#x3D;&quot;{
		&#x27;cds--label--disabled&#x27;: disabled,
		&#x27;cds--visually-hidden&#x27;: hideLabel
	}&quot;&gt;
	&lt;ng-container *ngIf&#x3D;&quot;!isTemplate(label)&quot;&gt;{{label}}&lt;/ng-container&gt;
	&lt;ng-template *ngIf&#x3D;&quot;isTemplate(label)&quot; [ngTemplateOutlet]&#x3D;&quot;label&quot;&gt;&lt;/ng-template&gt;
&lt;/label&gt;
&lt;div
	class&#x3D;&quot;cds--list-box&quot;
	[ngClass]&#x3D;&quot;{
		&#x27;cds--dropdown&#x27;: type !&#x3D;&#x3D; &#x27;multi&#x27; &amp;&amp; !(skeleton &amp;&amp; fluid),
		&#x27;cds--multiselect&#x27;: type &#x3D;&#x3D;&#x3D; &#x27;multi&#x27;,
		&#x27;cds--multi-select--selected&#x27;: type &#x3D;&#x3D;&#x3D; &#x27;multi&#x27; &amp;&amp; getSelectedCount() &gt; 0,
		&#x27;cds--dropdown--light&#x27;: theme &#x3D;&#x3D;&#x3D; &#x27;light&#x27;,
		&#x27;cds--list-box--light&#x27;: theme &#x3D;&#x3D;&#x3D; &#x27;light&#x27;,
		&#x27;cds--list-box--inline&#x27;: inline,
		&#x27;cds--skeleton&#x27;: skeleton,
		&#x27;cds--dropdown--disabled cds--list-box--disabled&#x27;: disabled,
		&#x27;cds--dropdown--readonly&#x27;: readonly,
		&#x27;cds--dropdown--invalid&#x27;: invalid,
		&#x27;cds--dropdown--warning cds--list-box--warning&#x27;: warn,
		&#x27;cds--dropdown--sm cds--list-box--sm&#x27;: size &#x3D;&#x3D;&#x3D; &#x27;sm&#x27;,
		&#x27;cds--dropdown--md cds--list-box--md&#x27;: size &#x3D;&#x3D;&#x3D; &#x27;md&#x27;,
		&#x27;cds--dropdown--lg cds--list-box--lg&#x27;: size &#x3D;&#x3D;&#x3D; &#x27;lg&#x27;,
		&#x27;cds--list-box--expanded&#x27;: !menuIsClosed,
		&#x27;cds--list-box--invalid&#x27;: invalid
	}&quot;
	[attr.data-invalid]&#x3D;&quot;invalid ? true : null&quot;&gt;
	&lt;div *ngIf&#x3D;&quot;skeleton &amp;&amp; fluid&quot; class&#x3D;&quot;cds--list-box__label&quot;&gt;&lt;/div&gt;
	&lt;button
		#dropdownButton
		[id]&#x3D;&quot;id&quot;
		type&#x3D;&quot;button&quot;
		class&#x3D;&quot;cds--list-box__field&quot;
		[ngClass]&#x3D;&quot;{&#x27;a&#x27;: !menuIsClosed}&quot;
		[attr.aria-expanded]&#x3D;&quot;!menuIsClosed&quot;
		[attr.aria-disabled]&#x3D;&quot;disabled&quot;
		aria-haspopup&#x3D;&quot;listbox&quot;
		(click)&#x3D;&quot;disabled || readonly ? $event.stopPropagation() : toggleMenu()&quot;
		(focus)&#x3D;&quot;fluid ? handleFocus($event) : null&quot;
		(blur)&#x3D;&quot;fluid ? handleFocus($event) : onBlur()&quot;
		[attr.disabled]&#x3D;&quot;disabled ? true : null&quot;&gt;
		&lt;div
			(click)&#x3D;&quot;clearSelected()&quot;
			(keydown.enter)&#x3D;&quot;clearSelected()&quot;
			*ngIf&#x3D;&quot;type &#x3D;&#x3D;&#x3D; &#x27;multi&#x27; &amp;&amp; getSelectedCount() &gt; 0&quot;
			class&#x3D;&quot;cds--list-box__selection cds--tag--filter cds--list-box__selection--multi&quot;
			tabindex&#x3D;&quot;0&quot;
			[title]&#x3D;&quot;clearText&quot;&gt;
			{{getSelectedCount()}}
			&lt;svg
				focusable&#x3D;&quot;false&quot;
				preserveAspectRatio&#x3D;&quot;xMidYMid meet&quot;
				style&#x3D;&quot;will-change: transform;&quot;
				role&#x3D;&quot;img&quot;
				xmlns&#x3D;&quot;http://www.w3.org/2000/svg&quot;
				width&#x3D;&quot;16&quot;
				height&#x3D;&quot;16&quot;
				viewBox&#x3D;&quot;0 0 16 16&quot;
				aria-hidden&#x3D;&quot;true&quot;&gt;
				&lt;path d&#x3D;&quot;M12 4.7l-.7-.7L8 7.3 4.7 4l-.7.7L7.3 8 4 11.3l.7.7L8 8.7l3.3 3.3.7-.7L8.7 8z&quot;&gt;&lt;/path&gt;
			&lt;/svg&gt;
		&lt;/div&gt;
		&lt;span *ngIf&#x3D;&quot;isRenderString()&quot; class&#x3D;&quot;cds--list-box__label&quot;&gt;{{getDisplayStringValue() | async}}&lt;/span&gt;
		&lt;ng-template
			*ngIf&#x3D;&quot;!isRenderString()&quot;
			[ngTemplateOutletContext]&#x3D;&quot;getRenderTemplateContext()&quot;
			[ngTemplateOutlet]&#x3D;&quot;displayValue&quot;&gt;
		&lt;/ng-template&gt;
		&lt;span class&#x3D;&quot;cds--list-box__menu-icon&quot;&gt;
			&lt;svg
				*ngIf&#x3D;&quot;!skeleton&quot;
				cdsIcon&#x3D;&quot;chevron--down&quot;
				size&#x3D;&quot;16&quot;
				[attr.aria-label]&#x3D;&quot;menuButtonLabel&quot;
				[ngClass]&#x3D;&quot;{&#x27;cds--list-box__menu-icon--open&#x27;: !menuIsClosed }&quot;&gt;
			&lt;/svg&gt;
		&lt;/span&gt;
	&lt;/button&gt;
	&lt;svg
		*ngIf&#x3D;&quot;invalid&quot;
		class&#x3D;&quot;cds--list-box__invalid-icon&quot;
		cdsIcon&#x3D;&quot;warning--filled&quot;
		size&#x3D;&quot;16&quot;&gt;
	&lt;/svg&gt;
	&lt;svg
		*ngIf&#x3D;&quot;!invalid &amp;&amp; warn&quot;
		cdsIcon&#x3D;&quot;warning--alt--filled&quot;
		size&#x3D;&quot;16&quot;
		class&#x3D;&quot;cds--list-box__invalid-icon cds--list-box__invalid-icon--warning&quot;&gt;
	&lt;/svg&gt;
	&lt;div
		#dropdownMenu
		[ngClass]&#x3D;&quot;{
			&#x27;cds--list-box--up&#x27;: this.dropUp !&#x3D;&#x3D; null &amp;&amp; this.dropUp !&#x3D;&#x3D; undefined ? dropUp : _dropUp
		}&quot;&gt;
		&lt;ng-content *ngIf&#x3D;&quot;!menuIsClosed&quot;&gt;&lt;/ng-content&gt;
	&lt;/div&gt;
&lt;/div&gt;
&lt;hr *ngIf&#x3D;&quot;fluid&quot; class&#x3D;&quot;cds--list-box__divider&quot; /&gt;
&lt;div
	*ngIf&#x3D;&quot;helperText &amp;&amp; !invalid &amp;&amp; !warn &amp;&amp; !skeleton &amp;&amp; !fluid&quot;
	class&#x3D;&quot;cds--form__helper-text&quot;
	[ngClass]&#x3D;&quot;{
		&#x27;cds--form__helper-text--disabled&#x27;: disabled
	}&quot;&gt;
	&lt;ng-container *ngIf&#x3D;&quot;!isTemplate(helperText)&quot;&gt;{{helperText}}&lt;/ng-container&gt;
	&lt;ng-template *ngIf&#x3D;&quot;isTemplate(helperText)&quot; [ngTemplateOutlet]&#x3D;&quot;helperText&quot;&gt;&lt;/ng-template&gt;
&lt;/div&gt;
&lt;div *ngIf&#x3D;&quot;invalid&quot; class&#x3D;&quot;cds--form-requirement&quot;&gt;
	&lt;ng-container *ngIf&#x3D;&quot;!isTemplate(invalidText)&quot;&gt;{{ invalidText }}&lt;/ng-container&gt;
	&lt;ng-template *ngIf&#x3D;&quot;isTemplate(invalidText)&quot; [ngTemplateOutlet]&#x3D;&quot;invalidText&quot;&gt;&lt;/ng-template&gt;
&lt;/div&gt;
&lt;div *ngIf&#x3D;&quot;!invalid &amp;&amp; warn&quot; class&#x3D;&quot;cds--form-requirement&quot;&gt;
	&lt;ng-container *ngIf&#x3D;&quot;!isTemplate(warnText)&quot;&gt;{{warnText}}&lt;/ng-container&gt;
	&lt;ng-template *ngIf&#x3D;&quot;isTemplate(warnText)&quot; [ngTemplateOutlet]&#x3D;&quot;warnText&quot;&gt;&lt;/ng-template&gt;
&lt;/div&gt;
</code></pre></td>
            </tr>









        </tbody>
    </table>
</section>

    <section data-compodoc="block-index">
    <h3 id="index">Index</h3>
    <table class="table table-sm table-bordered index-table">
        <tbody>
                <tr>
                    <td class="col-md-4">
                        <h6><b>Properties</b></h6>
                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <ul class="index-list">
                            <li>
                                <a href="#_dropUp" >_dropUp</a>
                            </li>
                            <li>
                                    <span class="modifier">Protected</span>
                                <a href="#_isFocused" >_isFocused</a>
                            </li>
                            <li>
                                    <span class="modifier">Private</span>
                                <a href="#_writtenValue" >_writtenValue</a>
                            </li>
                            <li>
                                    <span class="modifier"></span>
                                <a href="#dropdownButton" >dropdownButton</a>
                            </li>
                            <li>
                                    <span class="modifier">Static</span>
                                <a href="#dropdownCount" >dropdownCount</a>
                            </li>
                            <li>
                                    <span class="modifier"></span>
                                <a href="#dropdownMenu" >dropdownMenu</a>
                            </li>
                            <li>
                                    <span class="modifier"></span>
                                <a href="#hostClass" >hostClass</a>
                            </li>
                            <li>
                                    <span class="modifier"></span>
                                <a href="#hostWrapperClass" >hostWrapperClass</a>
                            </li>
                            <li>
                                <a href="#keyboardNav" >keyboardNav</a>
                            </li>
                            <li>
                                <a href="#menuIsClosed" >menuIsClosed</a>
                            </li>
                            <li>
                                <a href="#noop" >noop</a>
                            </li>
                            <li>
                                    <span class="modifier">Protected</span>
                                <a href="#onTouchedCallback" >onTouchedCallback</a>
                            </li>
                            <li>
                                <a href="#outsideClick" >outsideClick</a>
                            </li>
                            <li>
                                <a href="#outsideKey" >outsideKey</a>
                            </li>
                            <li>
                                <a href="#propagateChange" >propagateChange</a>
                            </li>
                            <li>
                                    <span class="modifier"></span>
                                <a href="#view" >view</a>
                            </li>
                            <li>
                                    <span class="modifier">Protected</span>
                                <a href="#visibilitySubscription" >visibilitySubscription</a>
                            </li>
                        </ul>
                    </td>
                </tr>

                <tr>
                    <td class="col-md-4">
                        <h6><b>Methods</b></h6>
                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <ul class="index-list">
                            <li>
                                <a href="#_appendToBody" >_appendToBody</a>
                            </li>
                            <li>
                                <a href="#_appendToDropdown" >_appendToDropdown</a>
                            </li>
                            <li>
                                <a href="#_keyboardNav" >_keyboardNav</a>
                            </li>
                            <li>
                                <a href="#_noop" >_noop</a>
                            </li>
                            <li>
                                <a href="#_outsideClick" >_outsideClick</a>
                            </li>
                            <li>
                                <a href="#_outsideKey" >_outsideKey</a>
                            </li>
                            <li>
                                <a href="#_shouldDropUp" >_shouldDropUp</a>
                            </li>
                            <li>
                                    <span class="modifier">Protected</span>
                                <a href="#checkForReorder" >checkForReorder</a>
                            </li>
                            <li>
                                <a href="#clearSelected" >clearSelected</a>
                            </li>
                            <li>
                                <a href="#closedDropdownNavigation" >closedDropdownNavigation</a>
                            </li>
                            <li>
                                <a href="#closeMenu" >closeMenu</a>
                            </li>
                            <li>
                                <a href="#getDisplayStringValue" >getDisplayStringValue</a>
                            </li>
                            <li>
                                <a href="#getRenderTemplateContext" >getRenderTemplateContext</a>
                            </li>
                            <li>
                                <a href="#getSelectedCount" >getSelectedCount</a>
                            </li>
                            <li>
                                <a href="#handleFocus" >handleFocus</a>
                            </li>
                            <li>
                                <a href="#isRenderString" >isRenderString</a>
                            </li>
                            <li>
                                    <span class="modifier">Public</span>
                                <a href="#isTemplate" >isTemplate</a>
                            </li>
                            <li>
                                <a href="#ngAfterContentInit" >ngAfterContentInit</a>
                            </li>
                            <li>
                                <a href="#ngAfterViewInit" >ngAfterViewInit</a>
                            </li>
                            <li>
                                <a href="#ngOnDestroy" >ngOnDestroy</a>
                            </li>
                            <li>
                                <a href="#ngOnInit" >ngOnInit</a>
                            </li>
                            <li>
                                <a href="#onBlur" >onBlur</a>
                            </li>
                            <li>
                                    <span class="modifier"></span>
                                <a href="#onKeyDown" >onKeyDown</a>
                            </li>
                            <li>
                                <a href="#openMenu" >openMenu</a>
                            </li>
                            <li>
                                <a href="#registerOnChange" >registerOnChange</a>
                            </li>
                            <li>
                                <a href="#registerOnTouched" >registerOnTouched</a>
                            </li>
                            <li>
                                <a href="#setDisabledState" >setDisabledState</a>
                            </li>
                            <li>
                                <a href="#toggleMenu" >toggleMenu</a>
                            </li>
                            <li>
                                <a href="#valueSelected" >valueSelected</a>
                            </li>
                            <li>
                                <a href="#writeValue" >writeValue</a>
                            </li>
                        </ul>
                    </td>
                </tr>

                <tr>
                    <td class="col-md-4">
                        <h6><b>Inputs</b></h6>
                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <ul class="index-list">
                            <li>
                                <a href="#appendInline" >appendInline</a>
                            </li>
                            <li>
                                <a href="#clearText" >clearText</a>
                            </li>
                            <li>
                                <a href="#disableArrowKeys" >disableArrowKeys</a>
                            </li>
                            <li>
                                <a href="#disabled" >disabled</a>
                            </li>
                            <li>
                                <a href="#displayValue" >displayValue</a>
                            </li>
                            <li>
                                <a href="#dropUp" >dropUp</a>
                            </li>
                            <li>
                                <a href="#fluid" >fluid</a>
                            </li>
                            <li>
                                <a href="#helperText" >helperText</a>
                            </li>
                            <li>
                                <a href="#hideLabel" >hideLabel</a>
                            </li>
                            <li>
                                <a href="#id" >id</a>
                            </li>
                            <li>
                                <a href="#inline" >inline</a>
                            </li>
                            <li>
                                <a href="#invalid" >invalid</a>
                            </li>
                            <li>
                                <a href="#invalidText" >invalidText</a>
                            </li>
                            <li>
                                <a href="#itemValueKey" >itemValueKey</a>
                            </li>
                            <li>
                                <a href="#label" >label</a>
                            </li>
                            <li>
                                <a href="#menuButtonLabel" >menuButtonLabel</a>
                            </li>
                            <li>
                                <a href="#placeholder" >placeholder</a>
                            </li>
                            <li>
                                <a href="#readonly" >readonly</a>
                            </li>
                            <li>
                                <a href="#scrollableContainer" >scrollableContainer</a>
                            </li>
                            <li>
                                <a href="#selectedLabel" >selectedLabel</a>
                            </li>
                            <li>
                                <a href="#selectionFeedback" >selectionFeedback</a>
                            </li>
                            <li>
                                <a href="#size" >size</a>
                            </li>
                            <li>
                                <a href="#skeleton" >skeleton</a>
                            </li>
                            <li>
                                <a href="#theme" class="deprecated-name">theme</a>
                            </li>
                            <li>
                                <a href="#type" >type</a>
                            </li>
                            <li>
                                <a href="#warn" >warn</a>
                            </li>
                            <li>
                                <a href="#warnText" >warnText</a>
                            </li>
                        </ul>
                    </td>
                </tr>

                <tr>
                    <td class="col-md-4">
                        <h6><b>Outputs</b></h6>
                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <ul class="index-list">
                            <li>
                                <a href="#close" >close</a>
                            </li>
                            <li>
                                <a href="#onClose" >onClose</a>
                            </li>
                            <li>
                                <a href="#selected" >selected</a>
                            </li>
                        </ul>
                    </td>
                </tr>

                <tr>
                    <td class="col-md-4">
                        <h6><b>HostBindings</b></h6>
                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <ul class="index-list">
                            <li>
                                <a href="#class.cds--dropdown__wrapper" >class.cds--dropdown__wrapper</a>
                            </li>
                            <li>
                                <a href="#class.cds--list-box__wrapper" >class.cds--list-box__wrapper</a>
                            </li>
                            <li>
                                <a href="#class.cds--list-box__wrapper--fluid--focus" >class.cds--list-box__wrapper--fluid--focus</a>
                            </li>
                            <li>
                                <a href="#class.cds--list-box__wrapper--fluid--invalid" >class.cds--list-box__wrapper--fluid--invalid</a>
                            </li>
                        </ul>
                    </td>
                </tr>

                <tr>
                    <td class="col-md-4">
                        <h6><b>HostListeners</b></h6>
                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <ul class="index-list">
                            <li>
                                <a href="#keydown" >keydown</a>
                            </li>
                        </ul>
                    </td>
                </tr>

                    <tr>
                        <td class="col-md-4">
                            <h6><b>Accessors</b></h6>
                        </td>
                    </tr>
                    <tr>
                        <td class="col-md-4">
                            <ul class="index-list">
                                <li>
                                    <a href="#fluidInvalidClass" >fluidInvalidClass</a>
                                </li>
                                <li>
                                    <a href="#fluidFocusClass" >fluidFocusClass</a>
                                </li>
                                <li>
                                    <a href="#writtenValue" >writtenValue</a>
                                </li>
                            </ul>
                        </td>
                    </tr>
        </tbody>
    </table>
</section>

    <section data-compodoc="block-constructor">
    <h3 id="constructor">Constructor</h3>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
<code>constructor(elementRef: ElementRef, i18n: <a href="../injectables/I18n.html" target="_self">I18n</a>, dropdownService: <a href="../injectables/DropdownService.html" target="_self">DropdownService</a>, elementService: <a href="../injectables/ElementService.html" target="_self">ElementService</a>)</code>
                    </td>
                </tr>
                        <tr>
                            <td class="col-md-4">
                                <div class="io-line">Defined in <a href="" data-line="376" class="link-to-prism">src/dropdown/dropdown.component.ts:376</a></div>
                            </td>
                        </tr>

                <tr>
                    <td class="col-md-4">
                            <div class="io-description"><p>Creates an instance of Dropdown.</p>
</div>
                            <div>
                                    <b>Parameters :</b>
                                    <table class="params">
                                        <thead>
                                            <tr>
                                                <td>Name</td>
                                                    <td>Type</td>
                                                <td>Optional</td>
                                            </tr>
                                        </thead>
                                        <tbody>
                                                <tr>
                                                        <td>elementRef</td>
                                                  
                                                        <td>
                                                                    <code>ElementRef</code>
                                                        </td>
                                                  
                                                    <td>
                                                            No
                                                    </td>
                                                    
                                                </tr>
                                                <tr>
                                                        <td>i18n</td>
                                                  
                                                        <td>
                                                                        <code><a href="../injectables/I18n.html" target="_self" >I18n</a></code>
                                                        </td>
                                                  
                                                    <td>
                                                            No
                                                    </td>
                                                    
                                                </tr>
                                                <tr>
                                                        <td>dropdownService</td>
                                                  
                                                        <td>
                                                                        <code><a href="../injectables/DropdownService.html" target="_self" >DropdownService</a></code>
                                                        </td>
                                                  
                                                    <td>
                                                            No
                                                    </td>
                                                    
                                                </tr>
                                                <tr>
                                                        <td>elementService</td>
                                                  
                                                        <td>
                                                                        <code><a href="../injectables/ElementService.html" target="_self" >ElementService</a></code>
                                                        </td>
                                                  
                                                    <td>
                                                            No
                                                    </td>
                                                    
                                                </tr>
                                        </tbody>
                                    </table>
                            </div>
                    </td>
                </tr>
            </tbody>
        </table>
</section>

    <section data-compodoc="block-inputs">
    <h3 id="inputs">Inputs</h3>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="appendInline"></a>
                        <b>appendInline</b>
                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Type : </i>        <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>

                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Default value : </i><code>null</code>
                    </td>
                </tr>
                        <tr>
                            <td class="col-md-2" colspan="2">
                                    <div class="io-line">Defined in <a href="" data-line="287" class="link-to-prism">src/dropdown/dropdown.component.ts:287</a></div>
                            </td>
                        </tr>
                <tr>
                    <td class="col-md-4">
                        <div class="io-description"><p>set to <code>true</code> to place the dropdown view inline with the component</p>
</div>
                    </td>
                </tr>
            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="clearText"></a>
                        <b>clearText</b>
                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Type : </i>        <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>

                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Default value : </i><code>this.i18n.get().DROPDOWN.CLEAR</code>
                    </td>
                </tr>
                        <tr>
                            <td class="col-md-2" colspan="2">
                                    <div class="io-line">Defined in <a href="" data-line="233" class="link-to-prism">src/dropdown/dropdown.component.ts:233</a></div>
                            </td>
                        </tr>
                <tr>
                    <td class="col-md-4">
                        <div class="io-description"><p>Sets the optional clear button tooltip text.</p>
</div>
                    </td>
                </tr>
            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="disableArrowKeys"></a>
                        <b>disableArrowKeys</b>
                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Type : </i>        <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>

                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Default value : </i><code>false</code>
                    </td>
                </tr>
                        <tr>
                            <td class="col-md-2" colspan="2">
                                    <div class="io-line">Defined in <a href="" data-line="267" class="link-to-prism">src/dropdown/dropdown.component.ts:267</a></div>
                            </td>
                        </tr>
                <tr>
                    <td class="col-md-4">
                        <div class="io-description"><p>Set to <code>true</code> for a dropdown without arrow key activation.</p>
</div>
                    </td>
                </tr>
            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="disabled"></a>
                        <b>disabled</b>
                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Type : </i>        <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>

                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Default value : </i><code>false</code>
                    </td>
                </tr>
                        <tr>
                            <td class="col-md-2" colspan="2">
                                    <div class="io-line">Defined in <a href="" data-line="251" class="link-to-prism">src/dropdown/dropdown.component.ts:251</a></div>
                            </td>
                        </tr>
                <tr>
                    <td class="col-md-4">
                        <div class="io-description"><p>Set to <code>true</code> to disable the dropdown.</p>
</div>
                    </td>
                </tr>
            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="displayValue"></a>
                        <b>displayValue</b>
                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Type : </i>    <code>string | TemplateRef&lt;any&gt;</code>

                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Default value : </i><code>&quot;&quot;</code>
                    </td>
                </tr>
                        <tr>
                            <td class="col-md-2" colspan="2">
                                    <div class="io-line">Defined in <a href="" data-line="229" class="link-to-prism">src/dropdown/dropdown.component.ts:229</a></div>
                            </td>
                        </tr>
                <tr>
                    <td class="col-md-4">
                        <div class="io-description"><p>The selected value from the <code>Dropdown</code>. Can be a string or template.</p>
</div>
                    </td>
                </tr>
            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="dropUp"></a>
                        <b>dropUp</b>
                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Type : </i>        <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>

                    </td>
                </tr>
                        <tr>
                            <td class="col-md-2" colspan="2">
                                    <div class="io-line">Defined in <a href="" data-line="317" class="link-to-prism">src/dropdown/dropdown.component.ts:317</a></div>
                            </td>
                        </tr>
                <tr>
                    <td class="col-md-4">
                        <div class="io-description"><p>Overrides the automatic dropUp.</p>
</div>
                    </td>
                </tr>
            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="fluid"></a>
                        <b>fluid</b>
                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Type : </i>        <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>

                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Default value : </i><code>false</code>
                    </td>
                </tr>
                        <tr>
                            <td class="col-md-2" colspan="2">
                                    <div class="io-line">Defined in <a href="" data-line="350" class="link-to-prism">src/dropdown/dropdown.component.ts:350</a></div>
                            </td>
                        </tr>
                <tr>
                    <td class="col-md-4">
                        <div class="io-description"><p>Experimental: enable fluid state</p>
</div>
                    </td>
                </tr>
            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="helperText"></a>
                        <b>helperText</b>
                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Type : </i>    <code>string | TemplateRef&lt;any&gt;</code>

                    </td>
                </tr>
                        <tr>
                            <td class="col-md-2" colspan="2">
                                    <div class="io-line">Defined in <a href="" data-line="221" class="link-to-prism">src/dropdown/dropdown.component.ts:221</a></div>
                            </td>
                        </tr>
                <tr>
                    <td class="col-md-4">
                        <div class="io-description"><p>Sets the optional helper text.</p>
</div>
                    </td>
                </tr>
            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="hideLabel"></a>
                        <b>hideLabel</b>
                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Type : </i>        <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>

                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Default value : </i><code>false</code>
                    </td>
                </tr>
                        <tr>
                            <td class="col-md-2" colspan="2">
                                    <div class="io-line">Defined in <a href="" data-line="217" class="link-to-prism">src/dropdown/dropdown.component.ts:217</a></div>
                            </td>
                        </tr>
                <tr>
                    <td class="col-md-4">
                        <div class="io-description"><p>Hide label while keeping it accessible for screen readers</p>
</div>
                    </td>
                </tr>
            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="id"></a>
                        <b>id</b>
                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Type : </i>        <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>

                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Default value : </i><code>&#x60;dropdown-${Dropdown.dropdownCount++}&#x60;</code>
                    </td>
                </tr>
                        <tr>
                            <td class="col-md-2" colspan="2">
                                    <div class="io-line">Defined in <a href="" data-line="209" class="link-to-prism">src/dropdown/dropdown.component.ts:209</a></div>
                            </td>
                        </tr>
            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="inline"></a>
                        <b>inline</b>
                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Type : </i>        <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>

                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Default value : </i><code>false</code>
                    </td>
                </tr>
                        <tr>
                            <td class="col-md-2" colspan="2">
                                    <div class="io-line">Defined in <a href="" data-line="263" class="link-to-prism">src/dropdown/dropdown.component.ts:263</a></div>
                            </td>
                        </tr>
                <tr>
                    <td class="col-md-4">
                        <div class="io-description"><p>Set to <code>true</code> for an inline dropdown.</p>
</div>
                    </td>
                </tr>
            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="invalid"></a>
                        <b>invalid</b>
                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Type : </i>        <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>

                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Default value : </i><code>false</code>
                    </td>
                </tr>
                        <tr>
                            <td class="col-md-2" colspan="2">
                                    <div class="io-line">Defined in <a href="" data-line="271" class="link-to-prism">src/dropdown/dropdown.component.ts:271</a></div>
                            </td>
                        </tr>
                <tr>
                    <td class="col-md-4">
                        <div class="io-description"><p>Set to <code>true</code> for invalid state.</p>
</div>
                    </td>
                </tr>
            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="invalidText"></a>
                        <b>invalidText</b>
                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Type : </i>    <code>string | TemplateRef&lt;any&gt;</code>

                    </td>
                </tr>
                        <tr>
                            <td class="col-md-2" colspan="2">
                                    <div class="io-line">Defined in <a href="" data-line="275" class="link-to-prism">src/dropdown/dropdown.component.ts:275</a></div>
                            </td>
                        </tr>
                <tr>
                    <td class="col-md-4">
                        <div class="io-description"><p>Value displayed if dropdown is in invalid state.</p>
</div>
                    </td>
                </tr>
            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="itemValueKey"></a>
                        <b>itemValueKey</b>
                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Type : </i>        <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>

                    </td>
                </tr>
                        <tr>
                            <td class="col-md-2" colspan="2">
                                    <div class="io-line">Defined in <a href="" data-line="296" class="link-to-prism">src/dropdown/dropdown.component.ts:296</a></div>
                            </td>
                        </tr>
                <tr>
                    <td class="col-md-4">
                        <div class="io-description"><p>Specifies the property to be used as the return value to <code>ngModel</code></p>
</div>
                    </td>
                </tr>
            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="label"></a>
                        <b>label</b>
                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Type : </i>    <code>string | TemplateRef&lt;any&gt;</code>

                    </td>
                </tr>
                        <tr>
                            <td class="col-md-2" colspan="2">
                                    <div class="io-line">Defined in <a href="" data-line="213" class="link-to-prism">src/dropdown/dropdown.component.ts:213</a></div>
                            </td>
                        </tr>
                <tr>
                    <td class="col-md-4">
                        <div class="io-description"><p>Label for the dropdown.</p>
</div>
                    </td>
                </tr>
            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="menuButtonLabel"></a>
                        <b>menuButtonLabel</b>
                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Type : </i>        <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>

                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Default value : </i><code>this.i18n.get().DROPDOWN.OPEN</code>
                    </td>
                </tr>
                        <tr>
                            <td class="col-md-2" colspan="2">
                                    <div class="io-line">Defined in <a href="" data-line="308" class="link-to-prism">src/dropdown/dropdown.component.ts:308</a></div>
                            </td>
                        </tr>
                <tr>
                    <td class="col-md-4">
                        <div class="io-description"><p>Accessible label for the button that opens the dropdown list.
Defaults to the <code>DROPDOWN.OPEN</code> value from the i18n service.</p>
</div>
                    </td>
                </tr>
            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="placeholder"></a>
                        <b>placeholder</b>
                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Type : </i>        <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>

                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Default value : </i><code>&quot;&quot;</code>
                    </td>
                </tr>
                        <tr>
                            <td class="col-md-2" colspan="2">
                                    <div class="io-line">Defined in <a href="" data-line="225" class="link-to-prism">src/dropdown/dropdown.component.ts:225</a></div>
                            </td>
                        </tr>
                <tr>
                    <td class="col-md-4">
                        <div class="io-description"><p>Value displayed if no item is selected.</p>
</div>
                    </td>
                </tr>
            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="readonly"></a>
                        <b>readonly</b>
                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Type : </i>        <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>

                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Default value : </i><code>false</code>
                    </td>
                </tr>
                        <tr>
                            <td class="col-md-2" colspan="2">
                                    <div class="io-line">Defined in <a href="" data-line="255" class="link-to-prism">src/dropdown/dropdown.component.ts:255</a></div>
                            </td>
                        </tr>
                <tr>
                    <td class="col-md-4">
                        <div class="io-description"><p>Set to <code>true</code> for a readonly state.</p>
</div>
                    </td>
                </tr>
            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="scrollableContainer"></a>
                        <b>scrollableContainer</b>
                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Type : </i>        <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>

                    </td>
                </tr>
                        <tr>
                            <td class="col-md-2" colspan="2">
                                    <div class="io-line">Defined in <a href="" data-line="292" class="link-to-prism">src/dropdown/dropdown.component.ts:292</a></div>
                            </td>
                        </tr>
                <tr>
                    <td class="col-md-4">
                        <div class="io-description"><p>Query string for the element that contains the <code>Dropdown</code>.
Used to trigger closing the dropdown if it scrolls outside of the viewport of the <code>scrollableContainer</code>.</p>
</div>
                    </td>
                </tr>
            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="selectedLabel"></a>
                        <b>selectedLabel</b>
                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Type : </i>        <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>

                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Default value : </i><code>this.i18n.get().DROPDOWN.SELECTED</code>
                    </td>
                </tr>
                        <tr>
                            <td class="col-md-2" colspan="2">
                                    <div class="io-line">Defined in <a href="" data-line="313" class="link-to-prism">src/dropdown/dropdown.component.ts:313</a></div>
                            </td>
                        </tr>
                <tr>
                    <td class="col-md-4">
                        <div class="io-description"><p>Provides the label for the &quot;# selected&quot; text.
Defaults to the <code>DROPDOWN.SELECTED</code> value from the i18n service.</p>
</div>
                    </td>
                </tr>
            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="selectionFeedback"></a>
                        <b>selectionFeedback</b>
                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Type : </i>    <code>&quot;top&quot; | &quot;fixed&quot; | &quot;top-after-reopen&quot;</code>

                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Default value : </i><code>&quot;top-after-reopen&quot;</code>
                    </td>
                </tr>
                        <tr>
                            <td class="col-md-2" colspan="2">
                                    <div class="io-line">Defined in <a href="" data-line="303" class="link-to-prism">src/dropdown/dropdown.component.ts:303</a></div>
                            </td>
                        </tr>
                <tr>
                    <td class="col-md-4">
                        <div class="io-description"><p>Specify feedback (mode) of the selection.
<code>top</code>: selected item jumps to top
<code>fixed</code>: selected item stays at it&#39;s position
<code>top-after-reopen</code>: selected item jump to top after reopen dropdown</p>
</div>
                    </td>
                </tr>
            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="size"></a>
                        <b>size</b>
                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Type : </i>    <code>&quot;sm&quot; | &quot;md&quot; | &quot;lg&quot;</code>

                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Default value : </i><code>&quot;md&quot;</code>
                    </td>
                </tr>
                        <tr>
                            <td class="col-md-2" colspan="2">
                                    <div class="io-line">Defined in <a href="" data-line="237" class="link-to-prism">src/dropdown/dropdown.component.ts:237</a></div>
                            </td>
                        </tr>
                <tr>
                    <td class="col-md-4">
                        <div class="io-description"><p>Size to render the dropdown field.</p>
</div>
                    </td>
                </tr>
            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="skeleton"></a>
                        <b>skeleton</b>
                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Type : </i>        <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>

                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Default value : </i><code>false</code>
                    </td>
                </tr>
                        <tr>
                            <td class="col-md-2" colspan="2">
                                    <div class="io-line">Defined in <a href="" data-line="259" class="link-to-prism">src/dropdown/dropdown.component.ts:259</a></div>
                            </td>
                        </tr>
                <tr>
                    <td class="col-md-4">
                        <div class="io-description"><p>Set to <code>true</code> for a loading dropdown.</p>
</div>
                    </td>
                </tr>
            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="theme"></a>
                        <b>theme</b>
                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Type : </i>    <code>&quot;light&quot; | &quot;dark&quot;</code>

                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Default value : </i><code>&quot;dark&quot;</code>
                    </td>
                </tr>
                        <tr>
                            <td class="col-md-2" colspan="2">
                                    <div class="io-line">Defined in <a href="" data-line="247" class="link-to-prism">src/dropdown/dropdown.component.ts:247</a></div>
                            </td>
                        </tr>
            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="type"></a>
                        <b>type</b>
                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Type : </i>    <code>&quot;single&quot; | &quot;multi&quot;</code>

                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Default value : </i><code>&quot;single&quot;</code>
                    </td>
                </tr>
                        <tr>
                            <td class="col-md-2" colspan="2">
                                    <div class="io-line">Defined in <a href="" data-line="242" class="link-to-prism">src/dropdown/dropdown.component.ts:242</a></div>
                            </td>
                        </tr>
                <tr>
                    <td class="col-md-4">
                        <div class="io-description"><p>Defines whether or not the <code>Dropdown</code> supports selecting multiple items as opposed to single
item selection.</p>
</div>
                    </td>
                </tr>
            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="warn"></a>
                        <b>warn</b>
                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Type : </i>        <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>

                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Default value : </i><code>false</code>
                    </td>
                </tr>
                        <tr>
                            <td class="col-md-2" colspan="2">
                                    <div class="io-line">Defined in <a href="" data-line="279" class="link-to-prism">src/dropdown/dropdown.component.ts:279</a></div>
                            </td>
                        </tr>
                <tr>
                    <td class="col-md-4">
                        <div class="io-description"><p>Set to <code>true</code> to show a warning (contents set by warningText)</p>
</div>
                    </td>
                </tr>
            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="warnText"></a>
                        <b>warnText</b>
                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Type : </i>    <code>string | TemplateRef&lt;any&gt;</code>

                    </td>
                </tr>
                        <tr>
                            <td class="col-md-2" colspan="2">
                                    <div class="io-line">Defined in <a href="" data-line="283" class="link-to-prism">src/dropdown/dropdown.component.ts:283</a></div>
                            </td>
                        </tr>
                <tr>
                    <td class="col-md-4">
                        <div class="io-description"><p>Sets the warning text</p>
</div>
                    </td>
                </tr>
            </tbody>
        </table>
</section>
    <section data-compodoc="block-outputs">
    <h3 id="outputs">Outputs</h3>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="close"></a>
                        <b>close</b>
                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Type : </i>    <code>EventEmitter&lt;any&gt;</code>

                    </td>
                </tr>
                        <tr>
                            <td class="col-md-2" colspan="2">
                                    <div class="io-line">Defined in <a href="" data-line="329" class="link-to-prism">src/dropdown/dropdown.component.ts:329</a></div>
                            </td>
                        </tr>
                <tr>
                    <td class="col-md-4">
                        <div class="io-description"><p>Emits event notifying to other classes that the <code>Dropdown</code> has been closed (collapsed).</p>
</div>
                    </td>
                </tr>
            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="onClose"></a>
                        <b>onClose</b>
                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Type : </i>    <code>EventEmitter&lt;any&gt;</code>

                    </td>
                </tr>
                        <tr>
                            <td class="col-md-2" colspan="2">
                                    <div class="io-line">Defined in <a href="" data-line="325" class="link-to-prism">src/dropdown/dropdown.component.ts:325</a></div>
                            </td>
                        </tr>
                <tr>
                    <td class="col-md-4">
                        <div class="io-description"><p>Emits event notifying to other classes that the <code>Dropdown</code> has been closed (collapsed).</p>
</div>
                    </td>
                </tr>
            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="selected"></a>
                        <b>selected</b>
                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Type : </i>    <code>EventEmitter&lt;Object&gt;</code>

                    </td>
                </tr>
                        <tr>
                            <td class="col-md-2" colspan="2">
                                    <div class="io-line">Defined in <a href="" data-line="321" class="link-to-prism">src/dropdown/dropdown.component.ts:321</a></div>
                            </td>
                        </tr>
                <tr>
                    <td class="col-md-4">
                        <div class="io-description"><p>Emits selection events.</p>
</div>
                    </td>
                </tr>
            </tbody>
        </table>
</section>
    <section data-compodoc="block-properties">
    <h3>HostBindings</h3>    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="class.cds--dropdown__wrapper"></a>
                    <span class="name">
                        <span ><b>class.cds--dropdown__wrapper</b></span>
                        <a href="#class.cds--dropdown__wrapper"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Type : </i>        <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>

                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Default value : </i><code>true</code>
                    </td>
                </tr>
                    <tr>
                        <td class="col-md-4">
                                <div class="io-line">Defined in <a href="" data-line="344" class="link-to-prism">src/dropdown/dropdown.component.ts:344</a></div>
                        </td>
                    </tr>


        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="class.cds--list-box__wrapper"></a>
                    <span class="name">
                        <span ><b>class.cds--list-box__wrapper</b></span>
                        <a href="#class.cds--list-box__wrapper"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Type : </i>        <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>

                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Default value : </i><code>true</code>
                    </td>
                </tr>
                    <tr>
                        <td class="col-md-4">
                                <div class="io-line">Defined in <a href="" data-line="346" class="link-to-prism">src/dropdown/dropdown.component.ts:346</a></div>
                        </td>
                    </tr>


        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="class.cds--list-box__wrapper--fluid--focus"></a>
                    <span class="name">
                        <span ><b>class.cds--list-box__wrapper--fluid--focus</b></span>
                        <a href="#class.cds--list-box__wrapper--fluid--focus"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Type : </i>        <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>

                    </td>
                </tr>
                    <tr>
                        <td class="col-md-4">
                                <div class="io-line">Defined in <a href="" data-line="194" class="link-to-prism">src/dropdown/dropdown.component.ts:194</a></div>
                        </td>
                    </tr>


        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="class.cds--list-box__wrapper--fluid--invalid"></a>
                    <span class="name">
                        <span ><b>class.cds--list-box__wrapper--fluid--invalid</b></span>
                        <a href="#class.cds--list-box__wrapper--fluid--invalid"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Type : </i>        <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>

                    </td>
                </tr>
                    <tr>
                        <td class="col-md-4">
                                <div class="io-line">Defined in <a href="" data-line="190" class="link-to-prism">src/dropdown/dropdown.component.ts:190</a></div>
                        </td>
                    </tr>


        </tbody>
    </table>
</section>

    <section data-compodoc="block-methods">
    <h3>HostListeners</h3>    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="keydown"></a>
                    <span class="name">
                        <span ><b>keydown</b></span>
                        <a href="#keydown"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
            <tr>
                <td class="col-md-4">
                    <i>Arguments : </i><code>'$event' </code>
                </td>
            </tr>
            <tr>
                <td class="col-md-4">
<code>keydown(event: KeyboardEvent)</code>
                </td>
            </tr>


                    <tr>
                        <td class="col-md-4">
                            <div class="io-line">Defined in <a href="" data-line="545"
                                    class="link-to-prism">src/dropdown/dropdown.component.ts:545</a></div>
                        </td>
                    </tr>


            <tr>
                <td class="col-md-4">
                        <div class="io-description"><p>Adds keyboard functionality for navigation, selection and closing of the <code>Dropdown</code>.</p>
</div>

                </td>
            </tr>
        </tbody>
    </table>
</section>
    <section data-compodoc="block-methods">
    
    <h3 id="methods">
        Methods
    </h3>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="_appendToBody"></a>
                    <span class="name">
                        <span ><b>_appendToBody</b></span>
                        <a href="#_appendToBody"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
            <tr>
                <td class="col-md-4">
<code>_appendToBody()</code>
                </td>
            </tr>


                    <tr>
                        <td class="col-md-4">
                            <div class="io-line">Defined in <a href="" data-line="707"
                                    class="link-to-prism">src/dropdown/dropdown.component.ts:707</a></div>
                        </td>
                    </tr>


            <tr>
                <td class="col-md-4">
                        <div class="io-description"><p>Creates the <code>Dropdown</code> list as an element that is appended to the DOM body.</p>
</div>

                        <div class="io-description">
                            <b>Returns : </b>        <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>

                        </div>
                </td>
            </tr>
        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="_appendToDropdown"></a>
                    <span class="name">
                        <span ><b>_appendToDropdown</b></span>
                        <a href="#_appendToDropdown"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
            <tr>
                <td class="col-md-4">
<code>_appendToDropdown()</code>
                </td>
            </tr>


                    <tr>
                        <td class="col-md-4">
                            <div class="io-line">Defined in <a href="" data-line="699"
                                    class="link-to-prism">src/dropdown/dropdown.component.ts:699</a></div>
                        </td>
                    </tr>


            <tr>
                <td class="col-md-4">
                        <div class="io-description"><p>Creates the <code>Dropdown</code> list appending it to the dropdown parent object instead of the body.</p>
</div>

                        <div class="io-description">
                            <b>Returns : </b>        <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>

                        </div>
                </td>
            </tr>
        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="_keyboardNav"></a>
                    <span class="name">
                        <span ><b>_keyboardNav</b></span>
                        <a href="#_keyboardNav"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
            <tr>
                <td class="col-md-4">
<code>_keyboardNav(event: KeyboardEvent)</code>
                </td>
            </tr>


                    <tr>
                        <td class="col-md-4">
                            <div class="io-line">Defined in <a href="" data-line="679"
                                    class="link-to-prism">src/dropdown/dropdown.component.ts:679</a></div>
                        </td>
                    </tr>


            <tr>
                <td class="col-md-4">
                        <div class="io-description"><p>Handles keyboard events so users are controlling the <code>Dropdown</code> instead of unintentionally controlling outside elements.</p>
</div>

                            <div class="io-description">
                                <b>Parameters :</b>
                                
                                <table class="params">
                                    <thead>
                                        <tr>
                                            <td>Name</td>
                                                <td>Type</td>
                                            <td>Optional</td>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <tr>
                                                <td>event</td>
                                            <td>
                                                        <code>KeyboardEvent</code>
                                            </td>

                                            <td>
                                                    No
                                            </td>


                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                        <div class="io-description">
                            <b>Returns : </b>        <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>

                        </div>
                            <div class="io-description">
                                
                            </div>
                </td>
            </tr>
        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="_noop"></a>
                    <span class="name">
                        <span ><b>_noop</b></span>
                        <a href="#_noop"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
            <tr>
                <td class="col-md-4">
<code>_noop()</code>
                </td>
            </tr>


                    <tr>
                        <td class="col-md-4">
                            <div class="io-line">Defined in <a href="" data-line="659"
                                    class="link-to-prism">src/dropdown/dropdown.component.ts:659</a></div>
                        </td>
                    </tr>


            <tr>
                <td class="col-md-4">

                        <div class="io-description">
                            <b>Returns : </b>        <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>

                        </div>
                </td>
            </tr>
        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="_outsideClick"></a>
                    <span class="name">
                        <span ><b>_outsideClick</b></span>
                        <a href="#_outsideClick"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
            <tr>
                <td class="col-md-4">
<code>_outsideClick(event)</code>
                </td>
            </tr>


                    <tr>
                        <td class="col-md-4">
                            <div class="io-line">Defined in <a href="" data-line="663"
                                    class="link-to-prism">src/dropdown/dropdown.component.ts:663</a></div>
                        </td>
                    </tr>


            <tr>
                <td class="col-md-4">
                        <div class="io-description"><p>Handles clicks outside of the <code>Dropdown</code>.</p>
</div>

                            <div class="io-description">
                                <b>Parameters :</b>
                                
                                <table class="params">
                                    <thead>
                                        <tr>
                                            <td>Name</td>
                                            <td>Optional</td>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <tr>
                                                <td>event</td>

                                            <td>
                                                    No
                                            </td>


                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                        <div class="io-description">
                            <b>Returns : </b>        <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>

                        </div>
                            <div class="io-description">
                                
                            </div>
                </td>
            </tr>
        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="_outsideKey"></a>
                    <span class="name">
                        <span ><b>_outsideKey</b></span>
                        <a href="#_outsideKey"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
            <tr>
                <td class="col-md-4">
<code>_outsideKey(event)</code>
                </td>
            </tr>


                    <tr>
                        <td class="col-md-4">
                            <div class="io-line">Defined in <a href="" data-line="671"
                                    class="link-to-prism">src/dropdown/dropdown.component.ts:671</a></div>
                        </td>
                    </tr>


            <tr>
                <td class="col-md-4">

                            <div class="io-description">
                                <b>Parameters :</b>
                                
                                <table class="params">
                                    <thead>
                                        <tr>
                                            <td>Name</td>
                                            <td>Optional</td>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <tr>
                                                <td>event</td>

                                            <td>
                                                    No
                                            </td>


                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                        <div class="io-description">
                            <b>Returns : </b>        <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>

                        </div>
                            <div class="io-description">
                                
                            </div>
                </td>
            </tr>
        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="_shouldDropUp"></a>
                    <span class="name">
                        <span ><b>_shouldDropUp</b></span>
                        <a href="#_shouldDropUp"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
            <tr>
                <td class="col-md-4">
<code>_shouldDropUp()</code>
                </td>
            </tr>


                    <tr>
                        <td class="col-md-4">
                            <div class="io-line">Defined in <a href="" data-line="721"
                                    class="link-to-prism">src/dropdown/dropdown.component.ts:721</a></div>
                        </td>
                    </tr>


            <tr>
                <td class="col-md-4">
                        <div class="io-description"><p>Detects whether or not the <code>Dropdown</code> list is visible within all scrollable parents.
This can be overridden by passing in a value to the <code>dropUp</code> input.</p>
</div>

                        <div class="io-description">
                            <b>Returns : </b>        <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>

                        </div>
                </td>
            </tr>
        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="checkForReorder"></a>
                    <span class="name">
                            <span class="modifier">Protected</span>
                        <span ><b>checkForReorder</b></span>
                        <a href="#checkForReorder"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
            <tr>
                <td class="col-md-4">
                        <span class="modifier-icon icon ion-ios-reset"></span>
                    <code>checkForReorder()</code>
                </td>
            </tr>


                    <tr>
                        <td class="col-md-4">
                            <div class="io-line">Defined in <a href="" data-line="837"
                                    class="link-to-prism">src/dropdown/dropdown.component.ts:837</a></div>
                        </td>
                    </tr>


            <tr>
                <td class="col-md-4">
                        <div class="io-description"><p>Controls when it&#39;s needed to apply the selection feedback</p>
</div>

                        <div class="io-description">
                            <b>Returns : </b>        <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>

                        </div>
                </td>
            </tr>
        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="clearSelected"></a>
                    <span class="name">
                        <span ><b>clearSelected</b></span>
                        <a href="#clearSelected"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
            <tr>
                <td class="col-md-4">
<code>clearSelected()</code>
                </td>
            </tr>


                    <tr>
                        <td class="col-md-4">
                            <div class="io-line">Defined in <a href="" data-line="640"
                                    class="link-to-prism">src/dropdown/dropdown.component.ts:640</a></div>
                        </td>
                    </tr>


            <tr>
                <td class="col-md-4">

                        <div class="io-description">
                            <b>Returns : </b>        <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>

                        </div>
                </td>
            </tr>
        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="closedDropdownNavigation"></a>
                    <span class="name">
                        <span ><b>closedDropdownNavigation</b></span>
                        <a href="#closedDropdownNavigation"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
            <tr>
                <td class="col-md-4">
<code>closedDropdownNavigation(event)</code>
                </td>
            </tr>


                    <tr>
                        <td class="col-md-4">
                            <div class="io-line">Defined in <a href="" data-line="580"
                                    class="link-to-prism">src/dropdown/dropdown.component.ts:580</a></div>
                        </td>
                    </tr>


            <tr>
                <td class="col-md-4">

                            <div class="io-description">
                                <b>Parameters :</b>
                                
                                <table class="params">
                                    <thead>
                                        <tr>
                                            <td>Name</td>
                                            <td>Optional</td>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <tr>
                                                <td>event</td>

                                            <td>
                                                    No
                                            </td>


                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                        <div class="io-description">
                            <b>Returns : </b>        <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>

                        </div>
                            <div class="io-description">
                                
                            </div>
                </td>
            </tr>
        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="closeMenu"></a>
                    <span class="name">
                        <span ><b>closeMenu</b></span>
                        <a href="#closeMenu"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
            <tr>
                <td class="col-md-4">
<code>closeMenu()</code>
                </td>
            </tr>


                    <tr>
                        <td class="col-md-4">
                            <div class="io-line">Defined in <a href="" data-line="785"
                                    class="link-to-prism">src/dropdown/dropdown.component.ts:785</a></div>
                        </td>
                    </tr>


            <tr>
                <td class="col-md-4">
                        <div class="io-description"><p>Collapsing the dropdown menu and removing unnecessary <code>EventListeners</code>.</p>
</div>

                        <div class="io-description">
                            <b>Returns : </b>        <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>

                        </div>
                </td>
            </tr>
        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="getDisplayStringValue"></a>
                    <span class="name">
                        <span ><b>getDisplayStringValue</b></span>
                        <a href="#getDisplayStringValue"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
            <tr>
                <td class="col-md-4">
<code>getDisplayStringValue()</code>
                </td>
            </tr>


                    <tr>
                        <td class="col-md-4">
                            <div class="io-line">Defined in <a href="" data-line="599"
                                    class="link-to-prism">src/dropdown/dropdown.component.ts:599</a></div>
                        </td>
                    </tr>


            <tr>
                <td class="col-md-4">
                        <div class="io-description"><p>Returns the display value if there is a selection and displayValue is set,
if there is just a selection the ListItem content property will be returned,
otherwise the placeholder will be returned.</p>
</div>

                        <div class="io-description">
                            <b>Returns : </b>    <code>Observable&lt;string&gt;</code>

                        </div>
                </td>
            </tr>
        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="getRenderTemplateContext"></a>
                    <span class="name">
                        <span ><b>getRenderTemplateContext</b></span>
                        <a href="#getRenderTemplateContext"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
            <tr>
                <td class="col-md-4">
<code>getRenderTemplateContext()</code>
                </td>
            </tr>


                    <tr>
                        <td class="col-md-4">
                            <div class="io-line">Defined in <a href="" data-line="620"
                                    class="link-to-prism">src/dropdown/dropdown.component.ts:620</a></div>
                        </td>
                    </tr>


            <tr>
                <td class="col-md-4">

                        <div class="io-description">
                            <b>Returns : </b>    <code>{ items: any; item?: undefined; } | { item: any; items?: undefined; } | { items?: undefined; item?: undefined; }</code>

                        </div>
                </td>
            </tr>
        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="getSelectedCount"></a>
                    <span class="name">
                        <span ><b>getSelectedCount</b></span>
                        <a href="#getSelectedCount"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
            <tr>
                <td class="col-md-4">
<code>getSelectedCount()</code>
                </td>
            </tr>


                    <tr>
                        <td class="col-md-4">
                            <div class="io-line">Defined in <a href="" data-line="634"
                                    class="link-to-prism">src/dropdown/dropdown.component.ts:634</a></div>
                        </td>
                    </tr>


            <tr>
                <td class="col-md-4">

                        <div class="io-description">
                            <b>Returns : </b>        <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank" >number</a></code>

                        </div>
                </td>
            </tr>
        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="handleFocus"></a>
                    <span class="name">
                        <span ><b>handleFocus</b></span>
                        <a href="#handleFocus"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
            <tr>
                <td class="col-md-4">
<code>handleFocus(event: FocusEvent)</code>
                </td>
            </tr>


                    <tr>
                        <td class="col-md-4">
                            <div class="io-line">Defined in <a href="" data-line="827"
                                    class="link-to-prism">src/dropdown/dropdown.component.ts:827</a></div>
                        </td>
                    </tr>


            <tr>
                <td class="col-md-4">

                            <div class="io-description">
                                <b>Parameters :</b>
                                
                                <table class="params">
                                    <thead>
                                        <tr>
                                            <td>Name</td>
                                                <td>Type</td>
                                            <td>Optional</td>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <tr>
                                                <td>event</td>
                                            <td>
                                                        <code>FocusEvent</code>
                                            </td>

                                            <td>
                                                    No
                                            </td>


                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                        <div class="io-description">
                            <b>Returns : </b>        <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>

                        </div>
                            <div class="io-description">
                                
                            </div>
                </td>
            </tr>
        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="isRenderString"></a>
                    <span class="name">
                        <span ><b>isRenderString</b></span>
                        <a href="#isRenderString"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
            <tr>
                <td class="col-md-4">
<code>isRenderString()</code>
                </td>
            </tr>


                    <tr>
                        <td class="col-md-4">
                            <div class="io-line">Defined in <a href="" data-line="616"
                                    class="link-to-prism">src/dropdown/dropdown.component.ts:616</a></div>
                        </td>
                    </tr>


            <tr>
                <td class="col-md-4">

                        <div class="io-description">
                            <b>Returns : </b>        <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>

                        </div>
                </td>
            </tr>
        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="isTemplate"></a>
                    <span class="name">
                            <span class="modifier">Public</span>
                        <span ><b>isTemplate</b></span>
                        <a href="#isTemplate"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
            <tr>
                <td class="col-md-4">
                        <span class="modifier-icon icon ion-ios-reset"></span>
                    <code>isTemplate(value)</code>
                </td>
            </tr>


                    <tr>
                        <td class="col-md-4">
                            <div class="io-line">Defined in <a href="" data-line="823"
                                    class="link-to-prism">src/dropdown/dropdown.component.ts:823</a></div>
                        </td>
                    </tr>


            <tr>
                <td class="col-md-4">

                            <div class="io-description">
                                <b>Parameters :</b>
                                
                                <table class="params">
                                    <thead>
                                        <tr>
                                            <td>Name</td>
                                            <td>Optional</td>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <tr>
                                                <td>value</td>

                                            <td>
                                                    No
                                            </td>


                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                        <div class="io-description">
                            <b>Returns : </b>        <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>

                        </div>
                            <div class="io-description">
                                
                            </div>
                </td>
            </tr>
        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="ngAfterContentInit"></a>
                    <span class="name">
                        <span ><b>ngAfterContentInit</b></span>
                        <a href="#ngAfterContentInit"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
            <tr>
                <td class="col-md-4">
<code>ngAfterContentInit()</code>
                </td>
            </tr>


                    <tr>
                        <td class="col-md-4">
                            <div class="io-line">Defined in <a href="" data-line="400"
                                    class="link-to-prism">src/dropdown/dropdown.component.ts:400</a></div>
                        </td>
                    </tr>


            <tr>
                <td class="col-md-4">
                        <div class="io-description"><p>Initializes classes and subscribes to events for single or multi selection.</p>
</div>

                        <div class="io-description">
                            <b>Returns : </b>        <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>

                        </div>
                </td>
            </tr>
        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="ngAfterViewInit"></a>
                    <span class="name">
                        <span ><b>ngAfterViewInit</b></span>
                        <a href="#ngAfterViewInit"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
            <tr>
                <td class="col-md-4">
<code>ngAfterViewInit()</code>
                </td>
            </tr>


                    <tr>
                        <td class="col-md-4">
                            <div class="io-line">Defined in <a href="" data-line="445"
                                    class="link-to-prism">src/dropdown/dropdown.component.ts:445</a></div>
                        </td>
                    </tr>


            <tr>
                <td class="col-md-4">

                        <div class="io-description">
                            <b>Returns : </b>        <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>

                        </div>
                </td>
            </tr>
        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="ngOnDestroy"></a>
                    <span class="name">
                        <span ><b>ngOnDestroy</b></span>
                        <a href="#ngOnDestroy"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
            <tr>
                <td class="col-md-4">
<code>ngOnDestroy()</code>
                </td>
            </tr>


                    <tr>
                        <td class="col-md-4">
                            <div class="io-line">Defined in <a href="" data-line="462"
                                    class="link-to-prism">src/dropdown/dropdown.component.ts:462</a></div>
                        </td>
                    </tr>


            <tr>
                <td class="col-md-4">
                        <div class="io-description"><p>Removing the <code>Dropdown</code> from the body if it is appended to the body.</p>
</div>

                        <div class="io-description">
                            <b>Returns : </b>        <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>

                        </div>
                </td>
            </tr>
        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="ngOnInit"></a>
                    <span class="name">
                        <span ><b>ngOnInit</b></span>
                        <a href="#ngOnInit"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
            <tr>
                <td class="col-md-4">
<code>ngOnInit()</code>
                </td>
            </tr>


                    <tr>
                        <td class="col-md-4">
                            <div class="io-line">Defined in <a href="" data-line="391"
                                    class="link-to-prism">src/dropdown/dropdown.component.ts:391</a></div>
                        </td>
                    </tr>


            <tr>
                <td class="col-md-4">
                        <div class="io-description"><p>Updates the <code>type</code> property in the <code>@ContentChild</code>.
The <code>type</code> property specifies whether the <code>Dropdown</code> allows single selection or multi selection.</p>
</div>

                        <div class="io-description">
                            <b>Returns : </b>        <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>

                        </div>
                </td>
            </tr>
        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="onBlur"></a>
                    <span class="name">
                        <span ><b>onBlur</b></span>
                        <a href="#onBlur"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
            <tr>
                <td class="col-md-4">
<code>onBlur()</code>
                </td>
            </tr>


                    <tr>
                        <td class="col-md-4">
                            <div class="io-line">Defined in <a href="" data-line="510"
                                    class="link-to-prism">src/dropdown/dropdown.component.ts:510</a></div>
                        </td>
                    </tr>


            <tr>
                <td class="col-md-4">

                        <div class="io-description">
                            <b>Returns : </b>        <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>

                        </div>
                </td>
            </tr>
        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="onKeyDown"></a>
                    <span class="name">
                            <span class="modifier"></span>
                        <span ><b>onKeyDown</b></span>
                        <a href="#onKeyDown"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
            <tr>
                <td class="col-md-4">
                        <span class="modifier-icon icon ion-ios-reset"></span>
                    <code>onKeyDown(event: KeyboardEvent)</code>
                </td>
            </tr>

            <tr>
                <td class="col-md-4">
                    <b>Decorators : </b>
                    <br />
                    <code>@HostListener(&#x27;keydown&#x27;, [&#x27;$event&#x27;])<br /></code>
                </td>
            </tr>

                    <tr>
                        <td class="col-md-4">
                            <div class="io-line">Defined in <a href="" data-line="545"
                                    class="link-to-prism">src/dropdown/dropdown.component.ts:545</a></div>
                        </td>
                    </tr>


            <tr>
                <td class="col-md-4">
                        <div class="io-description"><p>Adds keyboard functionality for navigation, selection and closing of the <code>Dropdown</code>.</p>
</div>

                            <div class="io-description">
                                <b>Parameters :</b>
                                
                                <table class="params">
                                    <thead>
                                        <tr>
                                            <td>Name</td>
                                                <td>Type</td>
                                            <td>Optional</td>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <tr>
                                                <td>event</td>
                                            <td>
                                                        <code>KeyboardEvent</code>
                                            </td>

                                            <td>
                                                    No
                                            </td>


                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                        <div class="io-description">
                            <b>Returns : </b>        <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>

                        </div>
                            <div class="io-description">
                                
                            </div>
                </td>
            </tr>
        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="openMenu"></a>
                    <span class="name">
                        <span ><b>openMenu</b></span>
                        <a href="#openMenu"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
            <tr>
                <td class="col-md-4">
<code>openMenu()</code>
                </td>
            </tr>


                    <tr>
                        <td class="col-md-4">
                            <div class="io-line">Defined in <a href="" data-line="741"
                                    class="link-to-prism">src/dropdown/dropdown.component.ts:741</a></div>
                        </td>
                    </tr>


            <tr>
                <td class="col-md-4">
                        <div class="io-description"><p>Expands the dropdown menu in the view.</p>
</div>

                        <div class="io-description">
                            <b>Returns : </b>        <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>

                        </div>
                </td>
            </tr>
        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="registerOnChange"></a>
                    <span class="name">
                        <span ><b>registerOnChange</b></span>
                        <a href="#registerOnChange"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
            <tr>
                <td class="col-md-4">
<code>registerOnChange(fn: <a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank">any</a>)</code>
                </td>
            </tr>


                    <tr>
                        <td class="col-md-4">
                            <div class="io-line">Defined in <a href="" data-line="514"
                                    class="link-to-prism">src/dropdown/dropdown.component.ts:514</a></div>
                        </td>
                    </tr>


            <tr>
                <td class="col-md-4">

                            <div class="io-description">
                                <b>Parameters :</b>
                                
                                <table class="params">
                                    <thead>
                                        <tr>
                                            <td>Name</td>
                                                <td>Type</td>
                                            <td>Optional</td>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <tr>
                                                <td>fn</td>
                                            <td>
                                                            <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
                                            </td>

                                            <td>
                                                    No
                                            </td>


                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                        <div class="io-description">
                            <b>Returns : </b>        <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>

                        </div>
                            <div class="io-description">
                                
                            </div>
                </td>
            </tr>
        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="registerOnTouched"></a>
                    <span class="name">
                        <span ><b>registerOnTouched</b></span>
                        <a href="#registerOnTouched"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
            <tr>
                <td class="col-md-4">
<code>registerOnTouched(fn: <a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank">any</a>)</code>
                </td>
            </tr>


                    <tr>
                        <td class="col-md-4">
                            <div class="io-line">Defined in <a href="" data-line="521"
                                    class="link-to-prism">src/dropdown/dropdown.component.ts:521</a></div>
                        </td>
                    </tr>


            <tr>
                <td class="col-md-4">
                        <div class="io-description"><p>Registering the function injected to control the touch use of the <code>Dropdown</code>.</p>
</div>

                            <div class="io-description">
                                <b>Parameters :</b>
                                
                                <table class="params">
                                    <thead>
                                        <tr>
                                            <td>Name</td>
                                                <td>Type</td>
                                            <td>Optional</td>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <tr>
                                                <td>fn</td>
                                            <td>
                                                            <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
                                            </td>

                                            <td>
                                                    No
                                            </td>


                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                        <div class="io-description">
                            <b>Returns : </b>        <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>

                        </div>
                            <div class="io-description">
                                
                            </div>
                </td>
            </tr>
        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="setDisabledState"></a>
                    <span class="name">
                        <span ><b>setDisabledState</b></span>
                        <a href="#setDisabledState"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
            <tr>
                <td class="col-md-4">
<code>setDisabledState(isDisabled: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank">boolean</a>)</code>
                </td>
            </tr>


                    <tr>
                        <td class="col-md-4">
                            <div class="io-line">Defined in <a href="" data-line="537"
                                    class="link-to-prism">src/dropdown/dropdown.component.ts:537</a></div>
                        </td>
                    </tr>


            <tr>
                <td class="col-md-4">
                        <div class="io-description"><p><code>ControlValueAccessor</code> method to programmatically disable the dropdown.</p>
<p>ex: <code>this.formGroup.get(&quot;myDropdown&quot;).disable();</code></p>
</div>

                            <div class="io-description">
                                <b>Parameters :</b>
                                
                                <table class="params">
                                    <thead>
                                        <tr>
                                            <td>Name</td>
                                                <td>Type</td>
                                            <td>Optional</td>
                                                <td>Description</td>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <tr>
                                                <td>isDisabled</td>
                                            <td>
                                                            <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
                                            </td>

                                            <td>
                                                    No
                                            </td>


                                            <td>
                                                    <p><code>true</code> to disable the input</p>

                                            </td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                        <div class="io-description">
                            <b>Returns : </b>        <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>

                        </div>
                            <div class="io-description">
                                
                            </div>
                </td>
            </tr>
        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="toggleMenu"></a>
                    <span class="name">
                        <span ><b>toggleMenu</b></span>
                        <a href="#toggleMenu"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
            <tr>
                <td class="col-md-4">
<code>toggleMenu()</code>
                </td>
            </tr>


                    <tr>
                        <td class="col-md-4">
                            <div class="io-line">Defined in <a href="" data-line="815"
                                    class="link-to-prism">src/dropdown/dropdown.component.ts:815</a></div>
                        </td>
                    </tr>


            <tr>
                <td class="col-md-4">
                        <div class="io-description"><p>Controls toggling menu states between open/expanded and closed/collapsed.</p>
</div>

                        <div class="io-description">
                            <b>Returns : </b>        <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>

                        </div>
                </td>
            </tr>
        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="valueSelected"></a>
                    <span class="name">
                        <span ><b>valueSelected</b></span>
                        <a href="#valueSelected"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
            <tr>
                <td class="col-md-4">
<code>valueSelected()</code>
                </td>
            </tr>


                    <tr>
                        <td class="col-md-4">
                            <div class="io-line">Defined in <a href="" data-line="654"
                                    class="link-to-prism">src/dropdown/dropdown.component.ts:654</a></div>
                        </td>
                    </tr>


            <tr>
                <td class="col-md-4">
                        <div class="io-description"><p>Returns <code>true</code> if there is a value selected.</p>
</div>

                        <div class="io-description">
                            <b>Returns : </b>        <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>

                        </div>
                </td>
            </tr>
        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="writeValue"></a>
                    <span class="name">
                        <span ><b>writeValue</b></span>
                        <a href="#writeValue"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
            <tr>
                <td class="col-md-4">
<code>writeValue(value: <a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank">any</a>)</code>
                </td>
            </tr>


                    <tr>
                        <td class="col-md-4">
                            <div class="io-line">Defined in <a href="" data-line="471"
                                    class="link-to-prism">src/dropdown/dropdown.component.ts:471</a></div>
                        </td>
                    </tr>


            <tr>
                <td class="col-md-4">
                        <div class="io-description"><p>Propagates the injected <code>value</code>.</p>
</div>

                            <div class="io-description">
                                <b>Parameters :</b>
                                
                                <table class="params">
                                    <thead>
                                        <tr>
                                            <td>Name</td>
                                                <td>Type</td>
                                            <td>Optional</td>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <tr>
                                                <td>value</td>
                                            <td>
                                                            <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
                                            </td>

                                            <td>
                                                    No
                                            </td>


                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                        <div class="io-description">
                            <b>Returns : </b>        <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>

                        </div>
                            <div class="io-description">
                                
                            </div>
                </td>
            </tr>
        </tbody>
    </table>
</section>
    <section data-compodoc="block-properties">
    
    <h3 id="inputs">
        Properties
    </h3>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="_dropUp"></a>
                    <span class="name">
                        <span ><b>_dropUp</b></span>
                        <a href="#_dropUp"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Default value : </i><code>false</code>
                    </td>
                </tr>
                    <tr>
                        <td class="col-md-4">
                                <div class="io-line">Defined in <a href="" data-line="360" class="link-to-prism">src/dropdown/dropdown.component.ts:360</a></div>
                        </td>
                    </tr>

            <tr>
                <td class="col-md-4">
                    <div class="io-description"><p>controls whether the <code>drop-up</code> class is applied</p>
</div>
                </td>
            </tr>

        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="_isFocused"></a>
                    <span class="name">
                            <span class="modifier">Protected</span>
                        <span ><b>_isFocused</b></span>
                        <a href="#_isFocused"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Default value : </i><code>false</code>
                    </td>
                </tr>
                    <tr>
                        <td class="col-md-4">
                                <div class="io-line">Defined in <a href="" data-line="373" class="link-to-prism">src/dropdown/dropdown.component.ts:373</a></div>
                        </td>
                    </tr>


        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="_writtenValue"></a>
                    <span class="name">
                            <span class="modifier">Private</span>
                        <span ><b>_writtenValue</b></span>
                        <a href="#_writtenValue"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Type : </i>        <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>

                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Default value : </i><code>[]</code>
                    </td>
                </tr>
                    <tr>
                        <td class="col-md-4">
                                <div class="io-line">Defined in <a href="" data-line="376" class="link-to-prism">src/dropdown/dropdown.component.ts:376</a></div>
                        </td>
                    </tr>


        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="dropdownButton"></a>
                    <span class="name">
                            <span class="modifier"></span>
                        <span ><b>dropdownButton</b></span>
                        <a href="#dropdownButton"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
                <tr>
                    <td class="col-md-4">
                        <b>Decorators : </b>
                        <br />
                        <code>
                            @ViewChild(&#x27;dropdownButton&#x27;, {static: true})<br />
                        </code>
                    </td>
                </tr>
                    <tr>
                        <td class="col-md-4">
                                <div class="io-line">Defined in <a href="" data-line="338" class="link-to-prism">src/dropdown/dropdown.component.ts:338</a></div>
                        </td>
                    </tr>

            <tr>
                <td class="col-md-4">
                    <div class="io-description"><p>Maintains a reference to the view DOM element of the <code>Dropdown</code> button.</p>
</div>
                </td>
            </tr>

        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="dropdownCount"></a>
                    <span class="name">
                            <span class="modifier">Static</span>
                        <span ><b>dropdownCount</b></span>
                        <a href="#dropdownCount"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Type : </i>        <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank" >number</a></code>

                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Default value : </i><code>0</code>
                    </td>
                </tr>
                    <tr>
                        <td class="col-md-4">
                                <div class="io-line">Defined in <a href="" data-line="189" class="link-to-prism">src/dropdown/dropdown.component.ts:189</a></div>
                        </td>
                    </tr>


        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="dropdownMenu"></a>
                    <span class="name">
                            <span class="modifier"></span>
                        <span ><b>dropdownMenu</b></span>
                        <a href="#dropdownMenu"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
                <tr>
                    <td class="col-md-4">
                        <b>Decorators : </b>
                        <br />
                        <code>
                            @ViewChild(&#x27;dropdownMenu&#x27;, {static: true})<br />
                        </code>
                    </td>
                </tr>
                    <tr>
                        <td class="col-md-4">
                                <div class="io-line">Defined in <a href="" data-line="342" class="link-to-prism">src/dropdown/dropdown.component.ts:342</a></div>
                        </td>
                    </tr>

            <tr>
                <td class="col-md-4">
                    <div class="io-description"><p>ViewChid of the dropdown view.</p>
</div>
                </td>
            </tr>

        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="hostClass"></a>
                    <span class="name">
                            <span class="modifier"></span>
                        <span ><b>hostClass</b></span>
                        <a href="#hostClass"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Default value : </i><code>true</code>
                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <b>Decorators : </b>
                        <br />
                        <code>
                            @HostBinding(&#x27;class.cds--dropdown__wrapper&#x27;)<br />
                        </code>
                    </td>
                </tr>
                    <tr>
                        <td class="col-md-4">
                                <div class="io-line">Defined in <a href="" data-line="344" class="link-to-prism">src/dropdown/dropdown.component.ts:344</a></div>
                        </td>
                    </tr>


        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="hostWrapperClass"></a>
                    <span class="name">
                            <span class="modifier"></span>
                        <span ><b>hostWrapperClass</b></span>
                        <a href="#hostWrapperClass"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Default value : </i><code>true</code>
                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <b>Decorators : </b>
                        <br />
                        <code>
                            @HostBinding(&#x27;class.cds--list-box__wrapper&#x27;)<br />
                        </code>
                    </td>
                </tr>
                    <tr>
                        <td class="col-md-4">
                                <div class="io-line">Defined in <a href="" data-line="346" class="link-to-prism">src/dropdown/dropdown.component.ts:346</a></div>
                        </td>
                    </tr>


        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="keyboardNav"></a>
                    <span class="name">
                        <span ><b>keyboardNav</b></span>
                        <a href="#keyboardNav"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Default value : </i><code>this._keyboardNav.bind(this)</code>
                    </td>
                </tr>
                    <tr>
                        <td class="col-md-4">
                                <div class="io-line">Defined in <a href="" data-line="367" class="link-to-prism">src/dropdown/dropdown.component.ts:367</a></div>
                        </td>
                    </tr>


        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="menuIsClosed"></a>
                    <span class="name">
                        <span ><b>menuIsClosed</b></span>
                        <a href="#menuIsClosed"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Default value : </i><code>true</code>
                    </td>
                </tr>
                    <tr>
                        <td class="col-md-4">
                                <div class="io-line">Defined in <a href="" data-line="355" class="link-to-prism">src/dropdown/dropdown.component.ts:355</a></div>
                        </td>
                    </tr>

            <tr>
                <td class="col-md-4">
                    <div class="io-description"><p>Set to <code>true</code> if the dropdown is closed (not expanded).</p>
</div>
                </td>
            </tr>

        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="noop"></a>
                    <span class="name">
                        <span ><b>noop</b></span>
                        <a href="#noop"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Default value : </i><code>this._noop.bind(this)</code>
                    </td>
                </tr>
                    <tr>
                        <td class="col-md-4">
                                <div class="io-line">Defined in <a href="" data-line="364" class="link-to-prism">src/dropdown/dropdown.component.ts:364</a></div>
                        </td>
                    </tr>


        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="onTouchedCallback"></a>
                    <span class="name">
                            <span class="modifier">Protected</span>
                        <span ><b>onTouchedCallback</b></span>
                        <a href="#onTouchedCallback"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Type : </i>        <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/function" target="_blank" >function</a></code>

                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Default value : </i><code>this._noop</code>
                    </td>
                </tr>
                    <tr>
                        <td class="col-md-4">
                                <div class="io-line">Defined in <a href="" data-line="371" class="link-to-prism">src/dropdown/dropdown.component.ts:371</a></div>
                        </td>
                    </tr>


        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="outsideClick"></a>
                    <span class="name">
                        <span ><b>outsideClick</b></span>
                        <a href="#outsideClick"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Default value : </i><code>this._outsideClick.bind(this)</code>
                    </td>
                </tr>
                    <tr>
                        <td class="col-md-4">
                                <div class="io-line">Defined in <a href="" data-line="365" class="link-to-prism">src/dropdown/dropdown.component.ts:365</a></div>
                        </td>
                    </tr>


        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="outsideKey"></a>
                    <span class="name">
                        <span ><b>outsideKey</b></span>
                        <a href="#outsideKey"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Default value : </i><code>this._outsideKey.bind(this)</code>
                    </td>
                </tr>
                    <tr>
                        <td class="col-md-4">
                                <div class="io-line">Defined in <a href="" data-line="366" class="link-to-prism">src/dropdown/dropdown.component.ts:366</a></div>
                        </td>
                    </tr>


        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="propagateChange"></a>
                    <span class="name">
                        <span ><b>propagateChange</b></span>
                        <a href="#propagateChange"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Default value : </i><code>() &#x3D;&gt; {...}</code>
                    </td>
                </tr>
                    <tr>
                        <td class="col-md-4">
                                <div class="io-line">Defined in <a href="" data-line="528" class="link-to-prism">src/dropdown/dropdown.component.ts:528</a></div>
                        </td>
                    </tr>

            <tr>
                <td class="col-md-4">
                    <div class="io-description"><p>function passed in by <code>registerOnChange</code></p>
</div>
                </td>
            </tr>

        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="view"></a>
                    <span class="name">
                            <span class="modifier"></span>
                        <span ><b>view</b></span>
                        <a href="#view"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Type : </i>        <code><a href="../directives/AbstractDropdownView.html" target="_self" >AbstractDropdownView</a></code>

                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <b>Decorators : </b>
                        <br />
                        <code>
                            @ContentChild(AbstractDropdownView, {static: true})<br />
                        </code>
                    </td>
                </tr>
                    <tr>
                        <td class="col-md-4">
                                <div class="io-line">Defined in <a href="" data-line="334" class="link-to-prism">src/dropdown/dropdown.component.ts:334</a></div>
                        </td>
                    </tr>

            <tr>
                <td class="col-md-4">
                    <div class="io-description"><p>Maintains a reference to the <code>AbstractDropdownView</code> object within the content DOM.</p>
</div>
                </td>
            </tr>

        </tbody>
    </table>
    <table class="table table-sm table-bordered">
        <tbody>
            <tr>
                <td class="col-md-4">
                    <a name="visibilitySubscription"></a>
                    <span class="name">
                            <span class="modifier">Protected</span>
                        <span ><b>visibilitySubscription</b></span>
                        <a href="#visibilitySubscription"><span class="icon ion-ios-link"></span></a>
                    </span>
                </td>
            </tr>
                <tr>
                    <td class="col-md-4">
                        <i>Default value : </i><code>new Subscription()</code>
                    </td>
                </tr>
                    <tr>
                        <td class="col-md-4">
                                <div class="io-line">Defined in <a href="" data-line="369" class="link-to-prism">src/dropdown/dropdown.component.ts:369</a></div>
                        </td>
                    </tr>


        </tbody>
    </table>
</section>

    <section data-compodoc="block-accessors">
    <h3 id="accessors">
        Accessors
    </h3>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="fluidInvalidClass"></a>
                        <span class="name"><b>fluidInvalidClass</b><a href="#fluidInvalidClass"><span class="icon ion-ios-link"></span></a></span>
                    </td>
                </tr>

                <tr>
                    <td class="col-md-4">
                        <span class="accessor"><b>get</b><code>fluidInvalidClass()</code></span>
                    </td>
                </tr>
                            <tr>
                                <td class="col-md-4">
                                    <div class="io-line">Defined in <a href="" data-line="190" class="link-to-prism">src/dropdown/dropdown.component.ts:190</a></div>
                                </td>
                            </tr>

            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="fluidFocusClass"></a>
                        <span class="name"><b>fluidFocusClass</b><a href="#fluidFocusClass"><span class="icon ion-ios-link"></span></a></span>
                    </td>
                </tr>

                <tr>
                    <td class="col-md-4">
                        <span class="accessor"><b>get</b><code>fluidFocusClass()</code></span>
                    </td>
                </tr>
                            <tr>
                                <td class="col-md-4">
                                    <div class="io-line">Defined in <a href="" data-line="194" class="link-to-prism">src/dropdown/dropdown.component.ts:194</a></div>
                                </td>
                            </tr>

            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="writtenValue"></a>
                        <span class="name"><b>writtenValue</b><a href="#writtenValue"><span class="icon ion-ios-link"></span></a></span>
                    </td>
                </tr>

                <tr>
                    <td class="col-md-4">
                        <span class="accessor"><b>get</b><code>writtenValue()</code></span>
                    </td>
                </tr>
                            <tr>
                                <td class="col-md-4">
                                    <div class="io-line">Defined in <a href="" data-line="198" class="link-to-prism">src/dropdown/dropdown.component.ts:198</a></div>
                                </td>
                            </tr>

                <tr>
                    <td class="col-md-4">
                        <span class="accessor"><b>set</b><code>writtenValue(val: any[])</code></span>
                    </td>
                </tr>
                            <tr>
                                <td class="col-md-4">
                                    <div class="io-line">Defined in <a href="" data-line="202" class="link-to-prism">src/dropdown/dropdown.component.ts:202</a></div>
                                </td>
                            </tr>
                    <tr>
                        <td class="col-md-4">

                                <div class="io-description">
                                        <b>Parameters :</b>
                                        <table class="params">
                                            <thead>
                                                <tr>
                                                    <td>Name</td>
                                                        <td>Type</td>
                                                    <td>Optional</td>
                                                </tr>
                                            </thead>
                                            <tbody>
                                                    <tr>
                                                            <td>val</td>
                                                    
                                                            <td>
                                                                        <code>any[]</code>
                                                            </td>
                                                    
                                                        <td>
                                                                No
                                                        </td>
                                                        
                                                    </tr>
                                            </tbody>
                                        </table>
                                </div>
                                <div>
                                </div>
                                <div class="io-description">
                                    <b>Returns : </b>        <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>

                                </div>
                        </td>
                    </tr>
            </tbody>
        </table>
</section>
</div>


    <div class="tab-pane fade  tab-source-code" id="source">
        <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
	Component,
	Input,
	Output,
	EventEmitter,
	ElementRef,
	ContentChild,
	OnInit,
	ViewChild,
	AfterContentInit,
	HostListener,
	OnDestroy,
	HostBinding,
	TemplateRef,
	AfterViewInit
} from &quot;@angular/core&quot;;
import { NG_VALUE_ACCESSOR, ControlValueAccessor } from &quot;@angular/forms&quot;;

// Observable import is required here so typescript can compile correctly
import {
	Observable,
	of,
	Subscription
} from &quot;rxjs&quot;;

import { AbstractDropdownView } from &quot;./abstract-dropdown-view.class&quot;;
import { I18n } from &quot;carbon-components-angular/i18n&quot;;
import { ListItem } from &quot;./list-item.interface&quot;;
import { DropdownService } from &quot;./dropdown.service&quot;;
import { ElementService, getScrollableParents } from &quot;carbon-components-angular/utils&quot;;
import { hasScrollableParents } from &quot;carbon-components-angular/utils&quot;;

/**
 * Drop-down lists enable users to select one or more items from a list.
 *
 * #### Opening behavior/List DOM placement
 * By default the dropdown will try to figure out the best placement for the dropdown list.
 *
 * If it&#x27;s not contained within any scrolling elements, it will open inline, if it _is_
 * contained within a scrolling container it will try to open in the body, or an &#x60;cds-placeholder&#x60;.
 *
 * To control this behavior you can use the &#x60;appendInline&#x60; input:
 * - &#x60;[appendInline]&#x3D;&quot;null&quot;&#x60; is the default (auto detection)
 * - &#x60;[appendInline]&#x3D;&quot;false&quot;&#x60; will always append to the body/&#x60;cds-placeholder&#x60;
 * - &#x60;[appendInline]&#x3D;&quot;true&quot;&#x60; will always append inline (next to the dropdown button)
 *
 * Get started with importing the module:
 *
 * &#x60;&#x60;&#x60;typescript
 * import { DropdownModule } from &#x27;carbon-components-angular&#x27;;
 * &#x60;&#x60;&#x60;
 *
 * [See demo](../../?path&#x3D;/story/components-dropdown--basic)
 */
@Component({
	selector: &quot;cds-dropdown, ibm-dropdown&quot;,
	template: &#x60;
	&lt;label
		*ngIf&#x3D;&quot;label &amp;&amp; !skeleton&quot;
		[for]&#x3D;&quot;id&quot;
		class&#x3D;&quot;cds--label&quot;
		[ngClass]&#x3D;&quot;{
			&#x27;cds--label--disabled&#x27;: disabled,
			&#x27;cds--visually-hidden&#x27;: hideLabel
		}&quot;&gt;
		&lt;ng-container *ngIf&#x3D;&quot;!isTemplate(label)&quot;&gt;{{label}}&lt;/ng-container&gt;
		&lt;ng-template *ngIf&#x3D;&quot;isTemplate(label)&quot; [ngTemplateOutlet]&#x3D;&quot;label&quot;&gt;&lt;/ng-template&gt;
	&lt;/label&gt;
	&lt;div
		class&#x3D;&quot;cds--list-box&quot;
		[ngClass]&#x3D;&quot;{
			&#x27;cds--dropdown&#x27;: type !&#x3D;&#x3D; &#x27;multi&#x27; &amp;&amp; !(skeleton &amp;&amp; fluid),
			&#x27;cds--multiselect&#x27;: type &#x3D;&#x3D;&#x3D; &#x27;multi&#x27;,
			&#x27;cds--multi-select--selected&#x27;: type &#x3D;&#x3D;&#x3D; &#x27;multi&#x27; &amp;&amp; getSelectedCount() &gt; 0,
			&#x27;cds--dropdown--light&#x27;: theme &#x3D;&#x3D;&#x3D; &#x27;light&#x27;,
			&#x27;cds--list-box--light&#x27;: theme &#x3D;&#x3D;&#x3D; &#x27;light&#x27;,
			&#x27;cds--list-box--inline&#x27;: inline,
			&#x27;cds--skeleton&#x27;: skeleton,
			&#x27;cds--dropdown--disabled cds--list-box--disabled&#x27;: disabled,
			&#x27;cds--dropdown--readonly&#x27;: readonly,
			&#x27;cds--dropdown--invalid&#x27;: invalid,
			&#x27;cds--dropdown--warning cds--list-box--warning&#x27;: warn,
			&#x27;cds--dropdown--sm cds--list-box--sm&#x27;: size &#x3D;&#x3D;&#x3D; &#x27;sm&#x27;,
			&#x27;cds--dropdown--md cds--list-box--md&#x27;: size &#x3D;&#x3D;&#x3D; &#x27;md&#x27;,
			&#x27;cds--dropdown--lg cds--list-box--lg&#x27;: size &#x3D;&#x3D;&#x3D; &#x27;lg&#x27;,
			&#x27;cds--list-box--expanded&#x27;: !menuIsClosed,
			&#x27;cds--list-box--invalid&#x27;: invalid
		}&quot;
		[attr.data-invalid]&#x3D;&quot;invalid ? true : null&quot;&gt;
		&lt;div *ngIf&#x3D;&quot;skeleton &amp;&amp; fluid&quot; class&#x3D;&quot;cds--list-box__label&quot;&gt;&lt;/div&gt;
		&lt;button
			#dropdownButton
			[id]&#x3D;&quot;id&quot;
			type&#x3D;&quot;button&quot;
			class&#x3D;&quot;cds--list-box__field&quot;
			[ngClass]&#x3D;&quot;{&#x27;a&#x27;: !menuIsClosed}&quot;
			[attr.aria-expanded]&#x3D;&quot;!menuIsClosed&quot;
			[attr.aria-disabled]&#x3D;&quot;disabled&quot;
			aria-haspopup&#x3D;&quot;listbox&quot;
			(click)&#x3D;&quot;disabled || readonly ? $event.stopPropagation() : toggleMenu()&quot;
			(focus)&#x3D;&quot;fluid ? handleFocus($event) : null&quot;
			(blur)&#x3D;&quot;fluid ? handleFocus($event) : onBlur()&quot;
			[attr.disabled]&#x3D;&quot;disabled ? true : null&quot;&gt;
			&lt;div
				(click)&#x3D;&quot;clearSelected()&quot;
				(keydown.enter)&#x3D;&quot;clearSelected()&quot;
				*ngIf&#x3D;&quot;type &#x3D;&#x3D;&#x3D; &#x27;multi&#x27; &amp;&amp; getSelectedCount() &gt; 0&quot;
				class&#x3D;&quot;cds--list-box__selection cds--tag--filter cds--list-box__selection--multi&quot;
				tabindex&#x3D;&quot;0&quot;
				[title]&#x3D;&quot;clearText&quot;&gt;
				{{getSelectedCount()}}
				&lt;svg
					focusable&#x3D;&quot;false&quot;
					preserveAspectRatio&#x3D;&quot;xMidYMid meet&quot;
					style&#x3D;&quot;will-change: transform;&quot;
					role&#x3D;&quot;img&quot;
					xmlns&#x3D;&quot;http://www.w3.org/2000/svg&quot;
					width&#x3D;&quot;16&quot;
					height&#x3D;&quot;16&quot;
					viewBox&#x3D;&quot;0 0 16 16&quot;
					aria-hidden&#x3D;&quot;true&quot;&gt;
					&lt;path d&#x3D;&quot;M12 4.7l-.7-.7L8 7.3 4.7 4l-.7.7L7.3 8 4 11.3l.7.7L8 8.7l3.3 3.3.7-.7L8.7 8z&quot;&gt;&lt;/path&gt;
				&lt;/svg&gt;
			&lt;/div&gt;
			&lt;span *ngIf&#x3D;&quot;isRenderString()&quot; class&#x3D;&quot;cds--list-box__label&quot;&gt;{{getDisplayStringValue() | async}}&lt;/span&gt;
			&lt;ng-template
				*ngIf&#x3D;&quot;!isRenderString()&quot;
				[ngTemplateOutletContext]&#x3D;&quot;getRenderTemplateContext()&quot;
				[ngTemplateOutlet]&#x3D;&quot;displayValue&quot;&gt;
			&lt;/ng-template&gt;
			&lt;span class&#x3D;&quot;cds--list-box__menu-icon&quot;&gt;
				&lt;svg
					*ngIf&#x3D;&quot;!skeleton&quot;
					cdsIcon&#x3D;&quot;chevron--down&quot;
					size&#x3D;&quot;16&quot;
					[attr.aria-label]&#x3D;&quot;menuButtonLabel&quot;
					[ngClass]&#x3D;&quot;{&#x27;cds--list-box__menu-icon--open&#x27;: !menuIsClosed }&quot;&gt;
				&lt;/svg&gt;
			&lt;/span&gt;
		&lt;/button&gt;
		&lt;svg
			*ngIf&#x3D;&quot;invalid&quot;
			class&#x3D;&quot;cds--list-box__invalid-icon&quot;
			cdsIcon&#x3D;&quot;warning--filled&quot;
			size&#x3D;&quot;16&quot;&gt;
		&lt;/svg&gt;
		&lt;svg
			*ngIf&#x3D;&quot;!invalid &amp;&amp; warn&quot;
			cdsIcon&#x3D;&quot;warning--alt--filled&quot;
			size&#x3D;&quot;16&quot;
			class&#x3D;&quot;cds--list-box__invalid-icon cds--list-box__invalid-icon--warning&quot;&gt;
		&lt;/svg&gt;
		&lt;div
			#dropdownMenu
			[ngClass]&#x3D;&quot;{
				&#x27;cds--list-box--up&#x27;: this.dropUp !&#x3D;&#x3D; null &amp;&amp; this.dropUp !&#x3D;&#x3D; undefined ? dropUp : _dropUp
			}&quot;&gt;
			&lt;ng-content *ngIf&#x3D;&quot;!menuIsClosed&quot;&gt;&lt;/ng-content&gt;
		&lt;/div&gt;
	&lt;/div&gt;
	&lt;hr *ngIf&#x3D;&quot;fluid&quot; class&#x3D;&quot;cds--list-box__divider&quot; /&gt;
	&lt;div
		*ngIf&#x3D;&quot;helperText &amp;&amp; !invalid &amp;&amp; !warn &amp;&amp; !skeleton &amp;&amp; !fluid&quot;
		class&#x3D;&quot;cds--form__helper-text&quot;
		[ngClass]&#x3D;&quot;{
			&#x27;cds--form__helper-text--disabled&#x27;: disabled
		}&quot;&gt;
		&lt;ng-container *ngIf&#x3D;&quot;!isTemplate(helperText)&quot;&gt;{{helperText}}&lt;/ng-container&gt;
		&lt;ng-template *ngIf&#x3D;&quot;isTemplate(helperText)&quot; [ngTemplateOutlet]&#x3D;&quot;helperText&quot;&gt;&lt;/ng-template&gt;
	&lt;/div&gt;
	&lt;div *ngIf&#x3D;&quot;invalid&quot; class&#x3D;&quot;cds--form-requirement&quot;&gt;
		&lt;ng-container *ngIf&#x3D;&quot;!isTemplate(invalidText)&quot;&gt;{{ invalidText }}&lt;/ng-container&gt;
		&lt;ng-template *ngIf&#x3D;&quot;isTemplate(invalidText)&quot; [ngTemplateOutlet]&#x3D;&quot;invalidText&quot;&gt;&lt;/ng-template&gt;
	&lt;/div&gt;
	&lt;div *ngIf&#x3D;&quot;!invalid &amp;&amp; warn&quot; class&#x3D;&quot;cds--form-requirement&quot;&gt;
		&lt;ng-container *ngIf&#x3D;&quot;!isTemplate(warnText)&quot;&gt;{{warnText}}&lt;/ng-container&gt;
		&lt;ng-template *ngIf&#x3D;&quot;isTemplate(warnText)&quot; [ngTemplateOutlet]&#x3D;&quot;warnText&quot;&gt;&lt;/ng-template&gt;
	&lt;/div&gt;
	&#x60;,
	providers: [
		{
			provide: NG_VALUE_ACCESSOR,
			useExisting: Dropdown,
			multi: true
		}
	]
})
export class Dropdown implements OnInit, AfterContentInit, AfterViewInit, OnDestroy, ControlValueAccessor {
	static dropdownCount &#x3D; 0;
	@HostBinding(&quot;class.cds--list-box__wrapper--fluid--invalid&quot;) get fluidInvalidClass() {
		return this.invalid &amp;&amp; this.fluid;
	}

	@HostBinding(&quot;class.cds--list-box__wrapper--fluid--focus&quot;) get fluidFocusClass() {
		return this.fluid &amp;&amp; this._isFocused &amp;&amp; this.menuIsClosed;
	}

	protected get writtenValue() {
		return this._writtenValue;
	}

	protected set writtenValue(val: any[]) {
		if (val &amp;&amp; val.length &#x3D;&#x3D;&#x3D; 0) {
			this.clearSelected();
		}
		this._writtenValue &#x3D; val;
	}

	@Input() id &#x3D; &#x60;dropdown-${Dropdown.dropdownCount++}&#x60;;
	/**
	 * Label for the dropdown.
	 */
	@Input() label: string | TemplateRef&lt;any&gt;;
	/**
	 * Hide label while keeping it accessible for screen readers
	 */
	@Input() hideLabel &#x3D; false;
	/**
	 * Sets the optional helper text.
	 */
	@Input() helperText: string | TemplateRef&lt;any&gt;;
	/**
	 * Value displayed if no item is selected.
	 */
	@Input() placeholder &#x3D; &quot;&quot;;
	/**
	 * The selected value from the &#x60;Dropdown&#x60;. Can be a string or template.
	 */
	@Input() displayValue: string | TemplateRef&lt;any&gt; &#x3D; &quot;&quot;;
	/**
	 * Sets the optional clear button tooltip text.
	 */
	@Input() clearText: string &#x3D; this.i18n.get().DROPDOWN.CLEAR;
	/**
	 * Size to render the dropdown field.
	 */
	@Input() size: &quot;sm&quot; | &quot;md&quot; | &quot;lg&quot; &#x3D; &quot;md&quot;;
	/**
	 * Defines whether or not the &#x60;Dropdown&#x60; supports selecting multiple items as opposed to single
	 * item selection.
	 */
	@Input() type: &quot;single&quot; | &quot;multi&quot; &#x3D; &quot;single&quot;;
	/**
	 * @deprecated since v5 - Use &#x60;cdsLayer&#x60; directive instead
	 * &#x60;light&#x60; or &#x60;dark&#x60; dropdown theme
	 */
	@Input() theme: &quot;light&quot; | &quot;dark&quot; &#x3D; &quot;dark&quot;;
	/**
	 * Set to &#x60;true&#x60; to disable the dropdown.
	 */
	@Input() disabled &#x3D; false;
	/**
	 * Set to &#x60;true&#x60; for a readonly state.
	 */
	@Input() readonly &#x3D; false;
	/**
	 * Set to &#x60;true&#x60; for a loading dropdown.
	 */
	@Input() skeleton &#x3D; false;
	/**
	 * Set to &#x60;true&#x60; for an inline dropdown.
	 */
	@Input() inline &#x3D; false;
	/**
	 * Set to &#x60;true&#x60; for a dropdown without arrow key activation.
	 */
	@Input() disableArrowKeys &#x3D; false;
	/**
	 * Set to &#x60;true&#x60; for invalid state.
	 */
	@Input() invalid &#x3D; false;
	/**
	 * Value displayed if dropdown is in invalid state.
	 */
	@Input() invalidText: string | TemplateRef&lt;any&gt;;
	/**
	  * Set to &#x60;true&#x60; to show a warning (contents set by warningText)
	  */
	@Input() warn &#x3D; false;
	/**
	 * Sets the warning text
	 */
	@Input() warnText: string | TemplateRef&lt;any&gt;;
	/**
	 * set to &#x60;true&#x60; to place the dropdown view inline with the component
	 */
	@Input() appendInline: boolean &#x3D; null;
	/**
	 * Query string for the element that contains the &#x60;Dropdown&#x60;.
	 * Used to trigger closing the dropdown if it scrolls outside of the viewport of the &#x60;scrollableContainer&#x60;.
	 */
	@Input() scrollableContainer: string;
	/**
	 * Specifies the property to be used as the return value to &#x60;ngModel&#x60;
	 */
	@Input() itemValueKey: string;
	/**
	 * Specify feedback (mode) of the selection.
	 * &#x60;top&#x60;: selected item jumps to top
	 * &#x60;fixed&#x60;: selected item stays at it&#x27;s position
	 * &#x60;top-after-reopen&#x60;: selected item jump to top after reopen dropdown
	 */
	@Input() selectionFeedback: &quot;top&quot; | &quot;fixed&quot; | &quot;top-after-reopen&quot; &#x3D; &quot;top-after-reopen&quot;;
	/**
	 * Accessible label for the button that opens the dropdown list.
	 * Defaults to the &#x60;DROPDOWN.OPEN&#x60; value from the i18n service.
	 */
	@Input() menuButtonLabel &#x3D; this.i18n.get().DROPDOWN.OPEN;
	/**
	 * Provides the label for the &quot;# selected&quot; text.
	 * Defaults to the &#x60;DROPDOWN.SELECTED&#x60; value from the i18n service.
	 */
	@Input() selectedLabel &#x3D; this.i18n.get().DROPDOWN.SELECTED;
	/**
	 * Overrides the automatic dropUp.
	 */
	@Input() dropUp: boolean;
	/**
	 * Emits selection events.
	 */
	@Output() selected: EventEmitter&lt;Object&gt; &#x3D; new EventEmitter&lt;Object&gt;();
	/**
	 * Emits event notifying to other classes that the &#x60;Dropdown&#x60; has been closed (collapsed).
	 */
	@Output() onClose: EventEmitter&lt;any&gt; &#x3D; new EventEmitter&lt;any&gt;();
	/**
	 * Emits event notifying to other classes that the &#x60;Dropdown&#x60; has been closed (collapsed).
	 */
	@Output() close: EventEmitter&lt;any&gt; &#x3D; new EventEmitter&lt;any&gt;();

	/**
	 * Maintains a reference to the &#x60;AbstractDropdownView&#x60; object within the content DOM.
	 */
	@ContentChild(AbstractDropdownView, { static: true }) view: AbstractDropdownView;
	/**
	 * Maintains a reference to the view DOM element of the &#x60;Dropdown&#x60; button.
	 */
	@ViewChild(&quot;dropdownButton&quot;, { static: true }) dropdownButton;
	/**
	 * ViewChid of the dropdown view.
	 */
	@ViewChild(&quot;dropdownMenu&quot;, { static: true }) dropdownMenu;

	@HostBinding(&quot;class.cds--dropdown__wrapper&quot;) hostClass &#x3D; true;

	@HostBinding(&quot;class.cds--list-box__wrapper&quot;) hostWrapperClass &#x3D; true;
	/**
	 * Experimental: enable fluid state
	 */
	@HostBinding(&quot;class.cds--list-box__wrapper--fluid&quot;) @Input() fluid &#x3D; false;

	/**
	 * Set to &#x60;true&#x60; if the dropdown is closed (not expanded).
	 */
	menuIsClosed &#x3D; true;

	/**
	 * controls whether the &#x60;drop-up&#x60; class is applied
	 */
	_dropUp &#x3D; false;

	// .bind creates a new function, so we declare the methods below
	// but .bind them up here
	noop &#x3D; this._noop.bind(this);
	outsideClick &#x3D; this._outsideClick.bind(this);
	outsideKey &#x3D; this._outsideKey.bind(this);
	keyboardNav &#x3D; this._keyboardNav.bind(this);

	protected visibilitySubscription &#x3D; new Subscription();

	protected onTouchedCallback: () &#x3D;&gt; void &#x3D; this._noop;

	protected _isFocused &#x3D; false;

	// primarily used to capture and propagate input to &#x60;writeValue&#x60; before the content is available
	private _writtenValue: any &#x3D; [];

	/**
	 * Creates an instance of Dropdown.
	 */
	constructor(
		protected elementRef: ElementRef,
		protected i18n: I18n,
		protected dropdownService: DropdownService,
		protected elementService: ElementService) {}

	/**
	 * Updates the &#x60;type&#x60; property in the &#x60;@ContentChild&#x60;.
	 * The &#x60;type&#x60; property specifies whether the &#x60;Dropdown&#x60; allows single selection or multi selection.
	 */
	ngOnInit() {
		if (this.view) {
			this.view.type &#x3D; this.type;
		}
	}

	/**
	 * Initializes classes and subscribes to events for single or multi selection.
	 */
	ngAfterContentInit() {
		if (!this.view) {
			return;
		}
		if ((this.writtenValue &amp;&amp; this.writtenValue.length) || typeof this.writtenValue &#x3D;&#x3D;&#x3D; &quot;number&quot;) {
			this.writeValue(this.writtenValue);
		}
		this.view.type &#x3D; this.type;
		this.view.size &#x3D; this.size;

		// function to check if the event is organic (isUpdate &#x3D;&#x3D;&#x3D; false) or programmatic
		const isUpdate &#x3D; event &#x3D;&gt; event &amp;&amp; event.isUpdate;

		this.view.select.subscribe(event &#x3D;&gt; {
			if (this.type &#x3D;&#x3D;&#x3D; &quot;single&quot; &amp;&amp; !isUpdate(event) &amp;&amp; !Array.isArray(event)) {
				this.closeMenu();
				if (event.item &amp;&amp; event.item.selected) {
					if (this.itemValueKey) {
						this.propagateChange(event.item[this.itemValueKey]);
					} else {
						this.propagateChange(event.item);
					}
				} else {
					this.propagateChange(null);
				}
			}

			if (this.type &#x3D;&#x3D;&#x3D; &quot;multi&quot; &amp;&amp; !isUpdate(event)) {
				// if we have a &#x60;value&#x60; selector and selected items map them appropriately
				if (this.itemValueKey &amp;&amp; this.view.getSelected()) {
					const values &#x3D; this.view.getSelected().map(item &#x3D;&gt; item[this.itemValueKey]);
					this.propagateChange(values);
					// otherwise just pass up the values from &#x60;getSelected&#x60;
				} else {
					this.propagateChange(this.view.getSelected());
				}
			}
			// only emit selected for &quot;organic&quot; selections
			if (!isUpdate(event)) {
				this.checkForReorder();
				this.selected.emit(event);
			}
		});
	}

	ngAfterViewInit() {
		// if appendInline is default valued (null) we should:
		// 1. if there are scrollable parents (not including body) don&#x27;t append inline
		//    this should also cover the case where the dropdown is in a modal
		//    (where we _do_ want to append to the placeholder)
		if (this.appendInline &#x3D;&#x3D;&#x3D; null &amp;&amp; hasScrollableParents(this.elementRef.nativeElement)) {
			this.appendInline &#x3D; false;
			// 2. otherwise we should append inline
		} else if (this.appendInline &#x3D;&#x3D;&#x3D; null) {
			this.appendInline &#x3D; true;
		}
		this.checkForReorder();
	}

	/**
	 * Removing the &#x60;Dropdown&#x60; from the body if it is appended to the body.
	 */
	ngOnDestroy() {
		if (!this.appendInline) {
			this._appendToDropdown();
		}
	}

	/**
	 * Propagates the injected &#x60;value&#x60;.
	 */
	writeValue(value: any) {
		// cache the written value so we can use it in &#x60;AfterContentInit&#x60;
		this.writtenValue &#x3D; value;
		this.view.onItemsReady(() &#x3D;&gt; {
			// propagate null/falsey as an array (deselect everything)
			if (!value) {
				this.view.propagateSelected([value]);
			} else if (this.type &#x3D;&#x3D;&#x3D; &quot;single&quot;) {
				if (this.itemValueKey) {
					// clone the specified item and update its state
					const newValue &#x3D; Object.assign({}, this.view.getListItems().find(item &#x3D;&gt; item[this.itemValueKey] &#x3D;&#x3D;&#x3D; value));
					newValue.selected &#x3D; true;
					this.view.propagateSelected([newValue]);
				} else {
					// pass the singular value as an array of ListItem
					this.view.propagateSelected([value]);
				}
			} else {
				if (this.itemValueKey) {
					// clone the items and update their state based on the received value array
					// this way we don&#x27;t lose any additional metadata that may be passed in via the &#x60;items&#x60; Input
					let newValues &#x3D; [];
					for (const v of value) {
						for (const item of this.view.getListItems()) {
							if (item[this.itemValueKey] &#x3D;&#x3D;&#x3D; v) {
								newValues.push(Object.assign({}, item, { selected: true }));
							}
						}
					}
					this.view.propagateSelected(newValues);
				} else {
					// we can safely assume we&#x27;re passing an array of &#x60;ListItem&#x60;s
					this.view.propagateSelected(value);
				}
			}
			this.checkForReorder();
		});
	}

	onBlur() {
		this.onTouchedCallback();
	}

	registerOnChange(fn: any) {
		this.propagateChange &#x3D; fn;
	}

	/**
	 * Registering the function injected to control the touch use of the &#x60;Dropdown&#x60;.
	 */
	registerOnTouched(fn: any) {
		this.onTouchedCallback &#x3D; fn;
	}

	/**
	 * function passed in by &#x60;registerOnChange&#x60;
	 */
	propagateChange &#x3D; (_: any) &#x3D;&gt; { };

	/**
	 * &#x60;ControlValueAccessor&#x60; method to programmatically disable the dropdown.
	 *
	 * ex: &#x60;this.formGroup.get(&quot;myDropdown&quot;).disable();&#x60;
	 *
	 * @param isDisabled &#x60;true&#x60; to disable the input
	 */
	setDisabledState(isDisabled: boolean) {
		this.disabled &#x3D; isDisabled;
	}

	/**
	 * Adds keyboard functionality for navigation, selection and closing of the &#x60;Dropdown&#x60;.
	 */
	@HostListener(&quot;keydown&quot;, [&quot;$event&quot;])
	onKeyDown(event: KeyboardEvent) {
		if (this.readonly) {
			return;
		}

		if ((event.key &#x3D;&#x3D;&#x3D; &quot;Escape&quot;) &amp;&amp; !this.menuIsClosed) {
			event.stopImmediatePropagation();  // don&#x27;t unintentionally close other widgets that listen for Escape
		}
		if (event.key &#x3D;&#x3D;&#x3D; &quot;Escape&quot;) {
			event.preventDefault();
			this.closeMenu();
			this.dropdownButton.nativeElement.focus();
		} else if (this.menuIsClosed &amp;&amp; (event.key &#x3D;&#x3D;&#x3D; &quot; &quot; || event.key &#x3D;&#x3D;&#x3D; &quot;ArrowDown&quot; || event.key &#x3D;&#x3D;&#x3D; &quot;ArrowUp&quot;)) {
			if (this.disableArrowKeys &amp;&amp; (event.key &#x3D;&#x3D;&#x3D; &quot;ArrowDown&quot; || event.key &#x3D;&#x3D;&#x3D; &quot;ArrowUp&quot;)) {
				return;
			}
			event.preventDefault();
			this.openMenu();
		}

		if (!this.menuIsClosed &amp;&amp; event.key &#x3D;&#x3D;&#x3D; &quot;Tab&quot; &amp;&amp; this.dropdownMenu.nativeElement.contains(event.target as Node)) {
			this.closeMenu();
		}

		if (!this.menuIsClosed &amp;&amp; event.key &#x3D;&#x3D;&#x3D; &quot;Tab&quot; &amp;&amp; event.shiftKey) {
			this.closeMenu();
		}

		if (this.type &#x3D;&#x3D;&#x3D; &quot;multi&quot;) { return; }

		if (this.menuIsClosed) {
			this.closedDropdownNavigation(event);
		}
	}

	closedDropdownNavigation(event) {
		if (event.key &#x3D;&#x3D;&#x3D; &quot;ArrowDown&quot;) {
			event.preventDefault();
			this.view.getCurrentItem().selected &#x3D; false;
			let item &#x3D; this.view.getNextItem();
			if (item) { item.selected &#x3D; true; }
		} else if (event.key &#x3D;&#x3D;&#x3D; &quot;ArrowUp&quot;) {
			event.preventDefault();
			this.view.getCurrentItem().selected &#x3D; false;
			let item &#x3D; this.view.getPrevItem();
			if (item) { item.selected &#x3D; true; }
		}
	}

	/**
	 * Returns the display value if there is a selection and displayValue is set,
	 * if there is just a selection the ListItem content property will be returned,
	 * otherwise the placeholder will be returned.
	 */
	getDisplayStringValue(): Observable&lt;string&gt; {
		if (!this.view || this.skeleton) {
			return;
		}
		let selected &#x3D; this.view.getSelected();
		if (selected.length &amp;&amp; (!this.displayValue || !this.isRenderString())) {
			if (this.type &#x3D;&#x3D;&#x3D; &quot;multi&quot;) {
				return of(this.placeholder);
			} else {
				return of(selected[0].content);
			}
		} else if (selected.length &amp;&amp; this.isRenderString()) {
			return of(this.displayValue as string);
		}
		return of(this.placeholder);
	}

	isRenderString(): boolean {
		return typeof this.displayValue &#x3D;&#x3D;&#x3D; &quot;string&quot;;
	}

	getRenderTemplateContext() {
		if (!this.view) {
			return;
		}
		let selected &#x3D; this.view.getSelected();
		if (this.type &#x3D;&#x3D;&#x3D; &quot;multi&quot;) {
			return { items: selected };
		} else if (selected &amp;&amp; selected.length &gt; 0) {
			return { item: selected[0] }; // this is to be compatible with the dropdown-list template
		} else {
			return {};
		}
	}

	getSelectedCount(): number {
		if (this.view.getSelected()) {
			return this.view.getSelected().length;
		}
	}

	clearSelected() {
		if (this.disabled || this.getSelectedCount() &#x3D;&#x3D;&#x3D; 0) {
			return;
		}
		for (const item of this.view.getListItems()) {
			item.selected &#x3D; false;
		}
		this.selected.emit([]);
		this.propagateChange([]);
	}

	/**
	 * Returns &#x60;true&#x60; if there is a value selected.
	 */
	valueSelected(): boolean {
		if (this.view.getSelected()) { return true; }
		return false;
	}

	_noop() { }
	/**
	 * Handles clicks outside of the &#x60;Dropdown&#x60;.
	 */
	_outsideClick(event) {
		if (!this.elementRef.nativeElement.contains(event.target) &amp;&amp;
			// if we&#x27;re appendToBody the list isn&#x27;t within the _elementRef,
			// so we&#x27;ve got to check if our target is possibly in there too.
			!this.dropdownMenu.nativeElement.contains(event.target)) {
			this.closeMenu();
		}
	}
	_outsideKey(event) {
		if (!this.menuIsClosed &amp;&amp; event.key &#x3D;&#x3D;&#x3D; &quot;Tab&quot; &amp;&amp; this.dropdownMenu.nativeElement.contains(event.target as Node)) {
			this.closeMenu();
		}
	}
	/**
	 * Handles keyboard events so users are controlling the &#x60;Dropdown&#x60; instead of unintentionally controlling outside elements.
	 */
	_keyboardNav(event: KeyboardEvent) {
		if (event.key &#x3D;&#x3D;&#x3D; &quot;Escape&quot; &amp;&amp; !this.menuIsClosed) {
			event.stopImmediatePropagation();  // don&#x27;t unintentionally close modal if inside of it
		}
		if (event.key &#x3D;&#x3D;&#x3D; &quot;Escape&quot;) {
			event.preventDefault();
			this.closeMenu();
			this.dropdownButton.nativeElement.focus();
		} else if (!this.menuIsClosed &amp;&amp; event.key &#x3D;&#x3D;&#x3D; &quot;Tab&quot;) {
			// this way focus will start on the next focusable item from the dropdown
			// not the top of the body!
			this.dropdownButton.nativeElement.focus();
			this.dropdownButton.nativeElement.dispatchEvent(new KeyboardEvent(&quot;keydown&quot;, { bubbles: true, cancelable: true, key: &quot;Tab&quot; }));
			this.closeMenu();
		}
	}

	/**
	 * Creates the &#x60;Dropdown&#x60; list appending it to the dropdown parent object instead of the body.
	 */
	_appendToDropdown() {
		this.dropdownService.appendToDropdown(this.elementRef.nativeElement);
		this.dropdownMenu.nativeElement.removeEventListener(&quot;keydown&quot;, this.keyboardNav, true);
	}

	/**
	 * Creates the &#x60;Dropdown&#x60; list as an element that is appended to the DOM body.
	 */
	_appendToBody() {
		const lightClass &#x3D; this.theme &#x3D;&#x3D;&#x3D; &quot;light&quot; ? &quot; cds--list-box--light&quot; : &quot;&quot;;
		const expandedClass &#x3D; !this.menuIsClosed ? &quot; cds--list-box--expanded&quot; : &quot;&quot;;
		this.dropdownService.appendToBody(
			this.dropdownButton.nativeElement,
			this.dropdownMenu.nativeElement,
			&#x60;${this.elementRef.nativeElement.className}${lightClass}${expandedClass}&#x60;);
		this.dropdownMenu.nativeElement.addEventListener(&quot;keydown&quot;, this.keyboardNav, true);
	}

	/**
	 * Detects whether or not the &#x60;Dropdown&#x60; list is visible within all scrollable parents.
	 * This can be overridden by passing in a value to the &#x60;dropUp&#x60; input.
	 */
	_shouldDropUp() {
		// check if dropdownMenu exists first.
		const menu &#x3D; this.dropdownMenu &amp;&amp; this.dropdownMenu.nativeElement.querySelector(&quot;.cds--list-box__menu&quot;);
		// check if menu exists first.
		const menuRect &#x3D; menu &amp;&amp; menu.getBoundingClientRect();
		if (menu &amp;&amp; menuRect) {
			const scrollableParents &#x3D; getScrollableParents(menu);
			return scrollableParents.reduce((shouldDropUp: boolean, parent: HTMLElement) &#x3D;&gt; {
				const parentRect &#x3D; parent.getBoundingClientRect();
				const isBelowParent &#x3D; !(menuRect.bottom &lt;&#x3D; parentRect.bottom);
				return shouldDropUp || isBelowParent;
			}, false);
		}

		return false;
	}

	/**
	 * Expands the dropdown menu in the view.
	 */
	openMenu() {
		// prevents the dropdown from opening when list of items is empty
		if (this.view.getListItems().length &#x3D;&#x3D;&#x3D; 0) {
			return;
		}

		this._dropUp &#x3D; false;
		this.menuIsClosed &#x3D; false;

		// move the dropdown list to the body if we&#x27;re not appending inline
		// and position it relative to the dropdown wrapper
		if (!this.appendInline) {
			const target &#x3D; this.dropdownButton.nativeElement;
			const parent &#x3D; this.elementRef.nativeElement;
			this.visibilitySubscription &#x3D; this.elementService
				.visibility(target, parent)
				.subscribe(value &#x3D;&gt; {
					if (!value.visible) {
						this.closeMenu();
					}
				});
			this._appendToBody();
		}

		// set the dropdown menu to drop up if it&#x27;s near the bottom of the screen
		// setTimeout lets us measure after it&#x27;s visible in the DOM
		setTimeout(() &#x3D;&gt; {
			if (this.dropUp &#x3D;&#x3D;&#x3D; null || this.dropUp &#x3D;&#x3D;&#x3D; undefined) {
				this._dropUp &#x3D; this._shouldDropUp();
			}
		}, 0);

		// we bind noop to document.body.firstElementChild to allow safari to fire events
		// from document. Then we unbind everything later to keep things light.
		document.body.firstElementChild.addEventListener(&quot;click&quot;, this.noop, true);
		document.body.firstElementChild.addEventListener(&quot;keydown&quot;, this.noop, true);
		document.addEventListener(&quot;click&quot;, this.outsideClick, true);
		document.addEventListener(&quot;keydown&quot;, this.outsideKey, true);
		setTimeout(() &#x3D;&gt; this.view.initFocus(), 0);
	}

	/**
	 * Collapsing the dropdown menu and removing unnecessary &#x60;EventListeners&#x60;.
	 */
	closeMenu() {
		// return early if the menu is already closed
		if (this.menuIsClosed) { return; }
		this.menuIsClosed &#x3D; true;
		this.checkForReorder();
		this.onClose.emit();
		this.close.emit();

		// focus the trigger button when we close ...
		this.dropdownButton.nativeElement.focus();

		// remove the conditional once this api is settled and part of abstract-dropdown-view.class
		if (this.view[&quot;disableScroll&quot;]) {
			this.view[&quot;disableScroll&quot;]();
		}

		// move the list back in the component on close
		if (!this.appendInline) {
			this.visibilitySubscription.unsubscribe();
			this._appendToDropdown();
		}
		document.body.firstElementChild.removeEventListener(&quot;click&quot;, this.noop, true);
		document.body.firstElementChild.removeEventListener(&quot;keydown&quot;, this.noop, true);
		document.removeEventListener(&quot;click&quot;, this.outsideClick, true);
		document.removeEventListener(&quot;keydown&quot;, this.outsideKey, true);
	}

	/**
	 * Controls toggling menu states between open/expanded and closed/collapsed.
	 */
	toggleMenu() {
		if (this.menuIsClosed) {
			this.openMenu();
		} else {
			this.closeMenu();
		}
	}

	public isTemplate(value) {
		return value instanceof TemplateRef;
	}

	handleFocus(event: FocusEvent) {
		this._isFocused &#x3D; event.type &#x3D;&#x3D;&#x3D; &quot;focus&quot;;
		if (event.type &#x3D;&#x3D;&#x3D; &quot;blur&quot;) {
			this.onBlur();
		}
	}

	/**
	 * Controls when it&#x27;s needed to apply the selection feedback
	 */
	protected checkForReorder() {
		const topAfterReopen &#x3D; this.menuIsClosed &amp;&amp; this.selectionFeedback &#x3D;&#x3D;&#x3D; &quot;top-after-reopen&quot;;
		if ((this.type &#x3D;&#x3D;&#x3D; &quot;multi&quot;) &amp;&amp; (topAfterReopen || this.selectionFeedback &#x3D;&#x3D;&#x3D; &quot;top&quot;)) {
			this.view.reorderSelected();
		}
	}
}
</code></pre>
    </div>



    <div class="tab-pane fade " id="tree">
        <div id="tree-container"></div>
        <div class="tree-legend">
            <div class="title">
                <b>Legend</b>
            </div>
            <div>
                <div class="color htmlelement"></div><span>Html element</span>
            </div>
            <div>
                <div class="color component"></div><span>Component</span>
            </div>
            <div>
                <div class="color directive"></div><span>Html element with directive</span>
            </div>
        </div>
    </div>

    
</div>

<script src="../js/libs/vis.min.js"></script>
<script src="../js/libs/htmlparser.js"></script>
<script src="../js/libs/deep-iterator.js"></script>
<script>
        var COMPONENT_TEMPLATE = '<div><label	*ngIf="label && !skeleton"	[for]="id"	class="cds--label"	[ngClass]="{		\'cds--label--disabled\': disabled,		\'cds--visually-hidden\': hideLabel	}">	<ng-container *ngIf="!isTemplate(label)">{{label}}</ng-container>	<ng-template *ngIf="isTemplate(label)" [ngTemplateOutlet]="label"></ng-template></label><div	class="cds--list-box"	[ngClass]="{		\'cds--dropdown\': type !== \'multi\' && !(skeleton && fluid),		\'cds--multiselect\': type === \'multi\',		\'cds--multi-select--selected\': type === \'multi\' && getSelectedCount() > 0,		\'cds--dropdown--light\': theme === \'light\',		\'cds--list-box--light\': theme === \'light\',		\'cds--list-box--inline\': inline,		\'cds--skeleton\': skeleton,		\'cds--dropdown--disabled cds--list-box--disabled\': disabled,		\'cds--dropdown--readonly\': readonly,		\'cds--dropdown--invalid\': invalid,		\'cds--dropdown--warning cds--list-box--warning\': warn,		\'cds--dropdown--sm cds--list-box--sm\': size === \'sm\',		\'cds--dropdown--md cds--list-box--md\': size === \'md\',		\'cds--dropdown--lg cds--list-box--lg\': size === \'lg\',		\'cds--list-box--expanded\': !menuIsClosed,		\'cds--list-box--invalid\': invalid	}"	[attr.data-invalid]="invalid ? true : null">	<div *ngIf="skeleton && fluid" class="cds--list-box__label"></div>	<button		#dropdownButton		[id]="id"		type="button"		class="cds--list-box__field"		[ngClass]="{\'a\': !menuIsClosed}"		[attr.aria-expanded]="!menuIsClosed"		[attr.aria-disabled]="disabled"		aria-haspopup="listbox"		(click)="disabled || readonly ? $event.stopPropagation() : toggleMenu()"		(focus)="fluid ? handleFocus($event) : null"		(blur)="fluid ? handleFocus($event) : onBlur()"		[attr.disabled]="disabled ? true : null">		<div			(click)="clearSelected()"			(keydown.enter)="clearSelected()"			*ngIf="type === \'multi\' && getSelectedCount() > 0"			class="cds--list-box__selection cds--tag--filter cds--list-box__selection--multi"			tabindex="0"			[title]="clearText">			{{getSelectedCount()}}			<svg				focusable="false"				preserveAspectRatio="xMidYMid meet"				style="will-change: transform;"				role="img"				xmlns="http://www.w3.org/2000/svg"				width="16"				height="16"				viewBox="0 0 16 16"				aria-hidden="true">				<path d="M12 4.7l-.7-.7L8 7.3 4.7 4l-.7.7L7.3 8 4 11.3l.7.7L8 8.7l3.3 3.3.7-.7L8.7 8z"></path>			</svg>		</div>		<span *ngIf="isRenderString()" class="cds--list-box__label">{{getDisplayStringValue() | async}}</span>		<ng-template			*ngIf="!isRenderString()"			[ngTemplateOutletContext]="getRenderTemplateContext()"			[ngTemplateOutlet]="displayValue">		</ng-template>		<span class="cds--list-box__menu-icon">			<svg				*ngIf="!skeleton"				cdsIcon="chevron--down"				size="16"				[attr.aria-label]="menuButtonLabel"				[ngClass]="{\'cds--list-box__menu-icon--open\': !menuIsClosed }">			</svg>		</span>	</button>	<svg		*ngIf="invalid"		class="cds--list-box__invalid-icon"		cdsIcon="warning--filled"		size="16">	</svg>	<svg		*ngIf="!invalid && warn"		cdsIcon="warning--alt--filled"		size="16"		class="cds--list-box__invalid-icon cds--list-box__invalid-icon--warning">	</svg>	<div		#dropdownMenu		[ngClass]="{			\'cds--list-box--up\': this.dropUp !== null && this.dropUp !== undefined ? dropUp : _dropUp		}">		<ng-content *ngIf="!menuIsClosed"></ng-content>	</div></div><hr *ngIf="fluid" class="cds--list-box__divider" /><div	*ngIf="helperText && !invalid && !warn && !skeleton && !fluid"	class="cds--form__helper-text"	[ngClass]="{		\'cds--form__helper-text--disabled\': disabled	}">	<ng-container *ngIf="!isTemplate(helperText)">{{helperText}}</ng-container>	<ng-template *ngIf="isTemplate(helperText)" [ngTemplateOutlet]="helperText"></ng-template></div><div *ngIf="invalid" class="cds--form-requirement">	<ng-container *ngIf="!isTemplate(invalidText)">{{ invalidText }}</ng-container>	<ng-template *ngIf="isTemplate(invalidText)" [ngTemplateOutlet]="invalidText"></ng-template></div><div *ngIf="!invalid && warn" class="cds--form-requirement">	<ng-container *ngIf="!isTemplate(warnText)">{{warnText}}</ng-container>	<ng-template *ngIf="isTemplate(warnText)" [ngTemplateOutlet]="warnText"></ng-template></div></div>'
    var COMPONENTS = [{'name': 'Accordion', 'selector': 'cds-accordion, ibm-accordion'},{'name': 'AccordionItem', 'selector': 'cds-accordion-item, ibm-accordion-item'},{'name': 'ActionableNotification', 'selector': 'cds-actionable-notification, ibm-actionable-notification'},{'name': 'AlertModal', 'selector': 'cds-alert-modal, ibm-alert-modal'},{'name': 'BaseIconButton', 'selector': ''},{'name': 'BaseNotification', 'selector': ''},{'name': 'BaseTabHeader', 'selector': ''},{'name': 'Breadcrumb', 'selector': 'cds-breadcrumb, ibm-breadcrumb'},{'name': 'BreadcrumbItemComponent', 'selector': 'cds-breadcrumb-item, ibm-breadcrumb-item'},{'name': 'ButtonSet', 'selector': 'cds-button-set, ibm-button-set'},{'name': 'Checkbox', 'selector': 'cds-checkbox, ibm-checkbox'},{'name': 'ClickableTile', 'selector': 'cds-clickable-tile, ibm-clickable-tile'},{'name': 'CodeSnippet', 'selector': 'cds-code-snippet, ibm-code-snippet'},{'name': 'ComboBox', 'selector': 'cds-combo-box, ibm-combo-box'},{'name': 'ComboButtonComponent', 'selector': 'cds-combo-button'},{'name': 'ContainedList', 'selector': 'cds-contained-list, ibm-contained-list'},{'name': 'ContainedListItem', 'selector': 'cds-contained-list-item, ibm-contained-list-item'},{'name': 'ContentSwitcher', 'selector': 'cds-content-switcher, ibm-content-switcher'},{'name': 'ContextMenuComponent', 'selector': 'cds-menu, cds-context-menu, ibm-context-menu'},{'name': 'ContextMenuDividerComponent', 'selector': 'cds-menu-divider, cds-context-menu-divider, ibm-context-menu-divider'},{'name': 'ContextMenuGroupComponent', 'selector': 'cds-menu-group, cds-context-menu-group, ibm-context-menu-group'},{'name': 'ContextMenuItemComponent', 'selector': 'cds-menu-item, cds-context-menu-item, ibm-context-menu-item'},{'name': 'DatePicker', 'selector': 'cds-date-picker, ibm-date-picker'},{'name': 'DatePickerInput', 'selector': 'cds-date-picker-input, ibm-date-picker-input'},{'name': 'Dialog', 'selector': 'cds-dialog, ibm-dialog'},{'name': 'Documentation', 'selector': 'cds-documentation'},{'name': 'Dropdown', 'selector': 'cds-dropdown, ibm-dropdown'},{'name': 'DropdownList', 'selector': 'cds-dropdown-list, ibm-dropdown-list'},{'name': 'ExpandableTile', 'selector': 'cds-expandable-tile, ibm-expandable-tile'},{'name': 'FileComponent', 'selector': 'cds-file, ibm-file'},{'name': 'FileUploader', 'selector': 'cds-file-uploader, ibm-file-uploader'},{'name': 'Hamburger', 'selector': 'cds-hamburger, ibm-hamburger'},{'name': 'Header', 'selector': 'cds-header, ibm-header'},{'name': 'HeaderAction', 'selector': 'cds-header-action, ibm-header-action'},{'name': 'HeaderGlobal', 'selector': 'cds-header-global, ibm-header-global'},{'name': 'HeaderItem', 'selector': 'cds-header-item, ibm-header-item'},{'name': 'HeaderMenu', 'selector': 'cds-header-menu, ibm-header-menu'},{'name': 'HeaderNavigation', 'selector': 'cds-header-navigation, ibm-header-navigation'},{'name': 'IconButton', 'selector': 'cds-icon-button, ibm-icon-button'},{'name': 'InlineLoading', 'selector': 'cds-inline-loading, ibm-inline-loading'},{'name': 'Label', 'selector': 'cds-label, ibm-label'},{'name': 'ListColumn', 'selector': 'cds-list-column, ibm-list-column'},{'name': 'ListHeader', 'selector': 'cds-list-header, ibm-list-header'},{'name': 'ListRow', 'selector': 'cds-list-row, ibm-list-row'},{'name': 'Loading', 'selector': 'cds-loading, ibm-loading'},{'name': 'MenuButtonComponent', 'selector': 'cds-menu-button'},{'name': 'Modal', 'selector': 'cds-modal, ibm-modal'},{'name': 'ModalFooter', 'selector': 'cds-modal-footer, ibm-modal-footer'},{'name': 'ModalHeader', 'selector': 'cds-modal-header, ibm-modal-header'},{'name': 'Notification', 'selector': 'cds-notification, cds-inline-notification, ibm-notification, ibm-inline-notification'},{'name': 'NumberComponent', 'selector': 'cds-number, ibm-number'},{'name': 'OverflowMenu', 'selector': 'cds-overflow-menu, ibm-overflow-menu'},{'name': 'OverflowMenuCustomPane', 'selector': 'cds-overflow-custom-menu-pane, ibm-overflow-custom-menu-pane'},{'name': 'OverflowMenuOption', 'selector': 'cds-overflow-menu-option, ibm-overflow-menu-option'},{'name': 'OverflowMenuPane', 'selector': 'cds-overflow-menu-pane, ibm-overflow-menu-pane'},{'name': 'Overlay', 'selector': 'cds-overlay, ibm-overlay'},{'name': 'Pagination', 'selector': 'cds-pagination, ibm-pagination'},{'name': 'PaginationNav', 'selector': 'cds-pagination-nav, ibm-pagination-navm'},{'name': 'PaginationNavItem', 'selector': 'cds-pagination-nav-item, ibm-pagination-nav-item'},{'name': 'PaginationOverflow', 'selector': 'cds-pagination-overflow, ibm-pagination-overflow'},{'name': 'Panel', 'selector': 'cds-panel, ibm-panel'},{'name': 'PasswordInputLabelComponent', 'selector': 'cds-password-label, ibm-password-label'},{'name': 'Placeholder', 'selector': 'cds-placeholder, ibm-placeholder'},{'name': 'PopoverContent', 'selector': 'cds-popover-content, ibm-popover-content'},{'name': 'ProgressBar', 'selector': 'cds-progress-bar, ibm-progress-bar'},{'name': 'ProgressIndicator', 'selector': 'cds-progress-indicator, ibm-progress-indicator'},{'name': 'Radio', 'selector': 'cds-radio, ibm-radio'},{'name': 'RadioGroup', 'selector': 'cds-radio-group, ibm-radio-group'},{'name': 'Search', 'selector': 'cds-search, ibm-search'},{'name': 'Select', 'selector': 'cds-select, ibm-select'},{'name': 'SelectionTile', 'selector': 'cds-selection-tile, ibm-selection-tile'},{'name': 'SideNav', 'selector': 'cds-sidenav, ibm-sidenav'},{'name': 'SideNavItem', 'selector': 'cds-sidenav-item, ibm-sidenav-item'},{'name': 'SideNavMenu', 'selector': 'cds-sidenav-menu, ibm-sidenav-menu'},{'name': 'SkeletonPlaceholder', 'selector': 'cds-skeleton-placeholder, ibm-skeleton-placeholder'},{'name': 'SkeletonText', 'selector': 'cds-skeleton-text, ibm-skeleton-text'},{'name': 'Slider', 'selector': 'cds-slider, ibm-slider'},{'name': 'StructuredList', 'selector': 'cds-structured-list, ibm-structured-list'},{'name': 'SwitcherList', 'selector': 'cds-switcher-list, ibm-switcher-list'},{'name': 'SwitcherListItem', 'selector': 'cds-switcher-list-item, ibm-switcher-list-item'},{'name': 'Tab', 'selector': 'cds-tab, ibm-tab'},{'name': 'TabHeaderGroup', 'selector': 'cds-tab-header-group, ibm-tab-header-group'},{'name': 'TabHeaders', 'selector': 'cds-tab-headers, ibm-tab-headers'},{'name': 'Table', 'selector': 'cds-table, ibm-table'},{'name': 'TableBody', 'selector': '[cdsTableBody], [ibmTableBody]'},{'name': 'TableCheckbox', 'selector': '[cdsTableCheckbox], [ibmTableCheckbox]'},{'name': 'TableContainer', 'selector': 'cds-table-container, ibm-table-container'},{'name': 'TableData', 'selector': '[cdsTableData], [ibmTableData]'},{'name': 'TableExpandButton', 'selector': '[cdsTableExpandButton], [ibmTableExpandButton]'},{'name': 'TableExpandedRow', 'selector': '[cdsTableExpandedRow], [ibmTableExpandedRow]'},{'name': 'TableHead', 'selector': '[cdsTableHead], [ibmTableHead]'},{'name': 'TableHeadCell', 'selector': '[cdsTableHeadCell], [ibmTableHeadCell]'},{'name': 'TableHeadCheckbox', 'selector': '[cdsTableHeadCheckbox], [ibmTableHeadCheckbox]'},{'name': 'TableHeader', 'selector': 'cds-table-header, ibm-table-header'},{'name': 'TableHeadExpand', 'selector': '[cdsTableHeadExpand], [ibmTableHeadExpand]'},{'name': 'TableRadio', 'selector': '[cdsTableRadio], [ibmTableRadio]'},{'name': 'TableRowComponent', 'selector': '[cdsTableRow], [ibmTableRow]'},{'name': 'TableToolbar', 'selector': 'cds-table-toolbar, ibm-table-toolbar'},{'name': 'TableToolbarActions', 'selector': 'cds-table-toolbar-actions, ibm-table-toolbar-actions'},{'name': 'TableToolbarContent', 'selector': 'cds-table-toolbar-content, ibm-table-toolbar-content'},{'name': 'TableToolbarSearch', 'selector': 'cds-table-toolbar-search, ibm-table-toolbar-search'},{'name': 'Tabs', 'selector': 'cds-tabs, ibm-tabs'},{'name': 'TabSkeleton', 'selector': 'cds-tabs-skeleton, ibm-tabs-skeleton'},{'name': 'Tag', 'selector': 'cds-tag, ibm-tag'},{'name': 'TagFilter', 'selector': 'cds-tag-filter, ibm-tag-filter'},{'name': 'TagOperationalComponent', 'selector': 'cds-tag-operational, ibm-tag-operational'},{'name': 'TagSelectableComponent', 'selector': 'cds-tag-selectable, ibm-tag-selectable'},{'name': 'TextareaLabelComponent', 'selector': 'cds-textarea-label, ibm-textarea-label'},{'name': 'TextInputLabelComponent', 'selector': 'cds-text-label, ibm-text-label'},{'name': 'Tile', 'selector': 'cds-tile, ibm-tile'},{'name': 'TileGroup', 'selector': 'cds-tile-group, ibm-tile-group'},{'name': 'TimePicker', 'selector': 'cds-timepicker, ibm-timepicker'},{'name': 'TimePickerSelect', 'selector': 'cds-timepicker-select, ibm-timepicker-select'},{'name': 'Toast', 'selector': 'cds-toast, ibm-toast'},{'name': 'Toggle', 'selector': 'cds-toggle, ibm-toggle'},{'name': 'Toggletip', 'selector': 'cds-toggletip, ibm-toggletip'},{'name': 'Tooltip', 'selector': 'cds-tooltip, ibm-tooltip'},{'name': 'TooltipDefinition', 'selector': 'cds-tooltip-definition, ibm-tooltip-definition'},{'name': 'TreeNodeComponent', 'selector': 'cds-tree-node'},{'name': 'TreeViewComponent', 'selector': 'cds-tree-view'}];
    var DIRECTIVES = [{'name': 'AbstractDropdownView', 'selector': '[cdsAbstractDropdownView], [ibmAbstractDropdownView]'},{'name': 'ActionableButton', 'selector': '[cdsActionableButton], [ibmActionableButton]'},{'name': 'ActionableSubtitle', 'selector': '[cdsActionableSubtitle], [ibmActionableSubtitle]'},{'name': 'ActionableTitle', 'selector': '[cdsActionableTitle], [ibmActionableTitle]'},{'name': 'BaseModal', 'selector': '[cdsBaseModal], [ibmBaseModal]'},{'name': 'Button', 'selector': '[cdsButton], [ibmButton]'},{'name': 'ClickableTileIconDirective', 'selector': '[cdsClickableTileIcon], [ibmClickableTileIcon]'},{'name': 'ColumnDirective', 'selector': '[cdsCol], [ibmCol]'},{'name': 'ContentSwitcherOption', 'selector': '[cdsContentOption], [ibmContentOption]'},{'name': 'DialogDirective', 'selector': '[cdsDialog], [ibmDialog]'},{'name': 'ExpandableTileAboveFoldDirective', 'selector': '[cdsAboveFold], [ibmAboveFold]'},{'name': 'ExpandableTileBelowFoldDirective', 'selector': '[cdsBelowFold], [ibmBelowFold]'},{'name': 'ExpandedRowHover', 'selector': '[cdsExpandedRowHover], [ibmExpandedRowHover]'},{'name': 'GridDirective', 'selector': '[cdsGrid], [ibmGrid]'},{'name': 'IconDirective', 'selector': '[cdsIcon], [ibmIcon]'},{'name': 'LayerDirective', 'selector': '[cdsLayer], [ibmLayer]'},{'name': 'Link', 'selector': '[cdsLink], [ibmLink]'},{'name': 'LinkIconDirective', 'selector': '[ibmLinkIcon], [cdsLinkIcon]'},{'name': 'List', 'selector': '[cdsList], [ibmList]'},{'name': 'ListItemDirective', 'selector': '[cdsListItem], [ibmListItem]'},{'name': 'ModalContent', 'selector': '[cdsModalContent], [ibmModalContent]'},{'name': 'ModalContentText', 'selector': '[cdsModalContentText], [ibmModalContentText]'},{'name': 'ModalHeaderHeading', 'selector': '[cdsModalHeaderHeading], [ibmModalHeaderHeading]'},{'name': 'ModalHeaderLabel', 'selector': '[cdsModalHeaderLabel], [ibmModalHeaderLabel]'},{'name': 'NotificationSubtitle', 'selector': '[cdsNotificationSubtitle], [ibmNotificationSubtitle]'},{'name': 'NotificationTitle', 'selector': '[cdsNotificationTitle], [ibmNotificationTitle]'},{'name': 'OptGroup', 'selector': 'optgroup'},{'name': 'Option', 'selector': 'option'},{'name': 'OverflowMenuDirective', 'selector': '[cdsOverflowMenu], [ibmOverflowMenu]'},{'name': 'PasswordInput', 'selector': '[cdsPassword], [ibmPassword]'},{'name': 'PopoverContainer', 'selector': '[cdsPopover], [ibmPopover]'},{'name': 'RouterLinkExtendedDirective', 'selector': '[routerLink]'},{'name': 'RowDirective', 'selector': '[cdsRow], [ibmRow]'},{'name': 'ScrollableList', 'selector': '[cdsScrollableList], [ibmScrollableList]'},{'name': 'StackDirective', 'selector': '[cdsStack], [ibmStack]'},{'name': 'TabHeader', 'selector': '[cdsTabHeader], [ibmTabHeader]'},{'name': 'TableDirective', 'selector': '[cdsTable], [ibmTable]'},{'name': 'TableHeadCellLabel', 'selector': '[cdsTableHeadCellLabel], [ibmTableHeadCellLabel]'},{'name': 'TableHeaderDescription', 'selector': '[cdsTableHeaderDescription], [ibmTableHeaderDescription]'},{'name': 'TableHeaderTitle', 'selector': '[cdsTableHeaderTitle], [ibmTableHeaderTitle]'},{'name': 'TagIconDirective', 'selector': '[cdsTagIcon], [ibmTagIcon]'},{'name': 'TextArea', 'selector': '[cdsTextArea], [ibmTextArea]'},{'name': 'TextInput', 'selector': '[cdsText], [ibmText]'},{'name': 'ThemeDirective', 'selector': '[cdsTheme], [ibmTheme]'},{'name': 'ToastCaption', 'selector': '[cdsToastCaption], [ibmToastCaption]'},{'name': 'ToastSubtitle', 'selector': '[cdsToastSubtitle], [ibmToastSubtitle]'},{'name': 'ToastTitle', 'selector': '[cdsToastTitle], [ibmToastTitle]'},{'name': 'ToggletipAction', 'selector': '[cdsToggletipAction], [ibmToggletipAction]'},{'name': 'ToggletipButton', 'selector': '[cdsToggletipButton], [ibmToggletipButton]'},{'name': 'ToggletipContent', 'selector': '[cdsToggletipContent], [ibmToggletipContent]'},{'name': 'ToggletipLabel', 'selector': '[cdsToggletipLabel], [ibmToggletipLabel]'}];
    var ACTUAL_COMPONENT = {'name': 'Dropdown'};
</script>
<script src="../js/tree.js"></script>

















                   </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 = 'component';
            var COMPODOC_CURRENT_PAGE_URL = 'Dropdown.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>