UNPKG

carbon-components-angular

Version:
611 lines (545 loc) 27.9 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 module"> <div class="content-data"> <ol class="breadcrumb"> <li class="breadcrumb-item">Modules</li> <li class="breadcrumb-item" >DropdownModule</li> </ol> <div class="text-center module-graph-container"> <div id="module-graph-svg"> <?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <!-- Generated by graphviz version 2.47.0 (20210316.0004) --> <!-- Title: dependencies Pages: 1 --> <svg width="1178pt" height="396pt" viewBox="0.00 0.00 1178.00 395.59" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 391.59)"> <title>dependencies</title> <polygon fill="white" stroke="transparent" points="-4,4 -4,-391.59 1174,-391.59 1174,4 -4,4"/> <text text-anchor="start" x="564.01" y="-42.4" font-family="Times-12" font-weight="bold" font-size="14.00">Legend</text> <polygon fill="#ffffb3" stroke="transparent" points="351,-10 351,-30 371,-30 371,-10 351,-10"/> <text text-anchor="start" x="374.63" y="-15.4" font-family="Times-12" font-size="14.00"> &#160;Declarations</text> <polygon fill="#8dd3c7" stroke="transparent" points="464,-10 464,-30 484,-30 484,-10 464,-10"/> <text text-anchor="start" x="487.73" y="-15.4" font-family="Times-12" font-size="14.00"> &#160;Module</text> <polygon fill="#80b1d3" stroke="transparent" points="550,-10 550,-30 570,-30 570,-10 550,-10"/> <text text-anchor="start" x="573.78" y="-15.4" font-family="Times-12" font-size="14.00"> &#160;Bootstrap</text> <polygon fill="#fdb462" stroke="transparent" points="647,-10 647,-30 667,-30 667,-10 647,-10"/> <text text-anchor="start" x="670.67" y="-15.4" font-family="Times-12" font-size="14.00"> &#160;Providers</text> <polygon fill="#fb8072" stroke="transparent" points="743,-10 743,-30 763,-30 763,-10 743,-10"/> <text text-anchor="start" x="766.73" y="-15.4" font-family="Times-12" font-size="14.00"> &#160;Exports</text> <g id="clust1" class="cluster"> <title>cluster_DropdownModule</title> <polygon fill="none" stroke="black" stroke-dasharray="1,5" points="8,-70 8,-379.59 1162,-379.59 1162,-70 8,-70"/> </g> <g id="clust2" class="cluster"> <title>cluster_DropdownModule_declarations</title> <polygon fill="none" stroke="black" points="662,-189.59 662,-241.59 1154,-241.59 1154,-189.59 662,-189.59"/> </g> <g id="clust4" class="cluster"> <title>cluster_DropdownModule_Dropdown_providers</title> <polygon fill="none" stroke="black" points="516,-78 516,-176.59 1154,-176.59 1154,-78 516,-78"/> </g> <g id="clust8" class="cluster"> <title>cluster_DropdownModule_exports</title> <polygon fill="none" stroke="black" points="374,-319.59 374,-371.59 880,-371.59 880,-319.59 374,-319.59"/> </g> <g id="clust7" class="cluster"> <title>cluster_DropdownModule_imports</title> <polygon fill="none" stroke="black" points="202,-189.59 202,-241.59 654,-241.59 654,-189.59 202,-189.59"/> </g> <g id="clust10" class="cluster"> <title>cluster_DropdownModule_providers</title> <polygon fill="none" stroke="black" points="16,-189.59 16,-241.59 194,-241.59 194,-189.59 16,-189.59"/> </g> <!-- AbstractDropdownView --> <g id="node1" class="node"> <title>AbstractDropdownView</title> <polygon fill="#ffffb3" stroke="black" points="1145.61,-233.59 992.39,-233.59 992.39,-197.59 1145.61,-197.59 1145.61,-233.59"/> <text text-anchor="middle" x="1069" y="-211.39" font-family="Times,serif" font-size="14.00">AbstractDropdownView</text> </g> <!-- DropdownModule --> <g id="node5" class="node"> <title>DropdownModule</title> <polygon fill="#8dd3c7" stroke="black" points="662.92,-298.59 659.92,-302.59 638.92,-302.59 635.92,-298.59 543.08,-298.59 543.08,-262.59 662.92,-262.59 662.92,-298.59"/> <text text-anchor="middle" x="603" y="-276.39" font-family="Times,serif" font-size="14.00">DropdownModule</text> </g> <!-- AbstractDropdownView&#45;&gt;DropdownModule --> <g id="edge1" class="edge"> <title>AbstractDropdownView&#45;&gt;DropdownModule</title> <path fill="none" stroke="black" d="M1069,-233.72C1069,-254.16 1069,-284.59 1069,-284.59 1069,-284.59 672.97,-284.59 672.97,-284.59"/> <polygon fill="black" stroke="black" points="672.97,-281.09 662.97,-284.59 672.97,-288.09 672.97,-281.09"/> </g> <!-- Dropdown --> <g id="node2" class="node"> <title>Dropdown</title> <polygon fill="#ffffb3" stroke="black" points="973.87,-233.59 898.13,-233.59 898.13,-197.59 973.87,-197.59 973.87,-233.59"/> <text text-anchor="middle" x="936" y="-211.39" font-family="Times,serif" font-size="14.00">Dropdown</text> </g> <!-- Dropdown&#45;&gt;DropdownModule --> <g id="edge2" class="edge"> <title>Dropdown&#45;&gt;DropdownModule</title> <path fill="none" stroke="black" d="M936,-233.86C936,-252.15 936,-277.59 936,-277.59 936,-277.59 672.92,-277.59 672.92,-277.59"/> <polygon fill="black" stroke="black" points="672.92,-274.09 662.92,-277.59 672.92,-281.09 672.92,-274.09"/> </g> <!-- DropdownList --> <g id="node3" class="node"> <title>DropdownList</title> <polygon fill="#ffffb3" stroke="black" points="879.65,-233.59 782.35,-233.59 782.35,-197.59 879.65,-197.59 879.65,-233.59"/> <text text-anchor="middle" x="831" y="-211.39" font-family="Times,serif" font-size="14.00">DropdownList</text> </g> <!-- DropdownList&#45;&gt;DropdownModule --> <g id="edge4" class="edge"> <title>DropdownList&#45;&gt;DropdownModule</title> <path fill="none" stroke="black" d="M826.87,-233.6C826.87,-249.64 826.87,-270.59 826.87,-270.59 826.87,-270.59 672.99,-270.59 672.99,-270.59"/> <polygon fill="black" stroke="black" points="672.99,-267.09 662.99,-270.59 672.99,-274.09 672.99,-267.09"/> </g> <!-- ScrollableList --> <g id="node4" class="node"> <title>ScrollableList</title> <polygon fill="#ffffb3" stroke="black" points="764.04,-233.59 669.96,-233.59 669.96,-197.59 764.04,-197.59 764.04,-233.59"/> <text text-anchor="middle" x="717" y="-211.39" font-family="Times,serif" font-size="14.00">ScrollableList</text> </g> <!-- ScrollableList&#45;&gt;DropdownModule --> <g id="edge5" class="edge"> <title>ScrollableList&#45;&gt;DropdownModule</title> <path fill="none" stroke="black" d="M669.69,-215.59C660.76,-215.59 654.16,-215.59 654.16,-215.59 654.16,-215.59 654.16,-252.48 654.16,-252.48"/> <polygon fill="black" stroke="black" points="650.66,-252.48 654.16,-262.48 657.66,-252.48 650.66,-252.48"/> </g> <!-- AbstractDropdownView --> <g id="node11" class="node"> <title>AbstractDropdownView </title> <polygon fill="#fb8072" stroke="black" points="871.61,-363.59 714.39,-363.59 714.39,-327.59 871.61,-327.59 871.61,-363.59"/> <text text-anchor="middle" x="793" y="-341.39" font-family="Times,serif" font-size="14.00">AbstractDropdownView </text> </g> <!-- DropdownModule&#45;&gt;AbstractDropdownView --> <g id="edge10" class="edge"> <title>DropdownModule&#45;&gt;AbstractDropdownView </title> <path fill="none" stroke="black" stroke-dasharray="5,2" d="M662.81,-291.59C699.44,-291.59 739.36,-291.59 739.36,-291.59 739.36,-291.59 739.36,-317.31 739.36,-317.31"/> <polygon fill="black" stroke="black" points="735.86,-317.31 739.36,-327.31 742.86,-317.31 735.86,-317.31"/> </g> <!-- Dropdown --> <g id="node12" class="node"> <title>Dropdown </title> <polygon fill="#fb8072" stroke="black" points="696.87,-363.59 617.13,-363.59 617.13,-327.59 696.87,-327.59 696.87,-363.59"/> <text text-anchor="middle" x="657" y="-341.39" font-family="Times,serif" font-size="14.00">Dropdown </text> </g> <!-- DropdownModule&#45;&gt;Dropdown --> <g id="edge11" class="edge"> <title>DropdownModule&#45;&gt;Dropdown </title> <path fill="none" stroke="black" stroke-dasharray="5,2" d="M640.01,-298.7C640.01,-298.7 640.01,-317.58 640.01,-317.58"/> <polygon fill="black" stroke="black" points="636.51,-317.58 640.01,-327.58 643.51,-317.58 636.51,-317.58"/> </g> <!-- DropdownList --> <g id="node13" class="node"> <title>DropdownList </title> <polygon fill="#fb8072" stroke="black" points="599.65,-363.59 498.35,-363.59 498.35,-327.59 599.65,-327.59 599.65,-363.59"/> <text text-anchor="middle" x="549" y="-341.39" font-family="Times,serif" font-size="14.00">DropdownList </text> </g> <!-- DropdownModule&#45;&gt;DropdownList --> <g id="edge12" class="edge"> <title>DropdownModule&#45;&gt;DropdownList </title> <path fill="none" stroke="black" stroke-dasharray="5,2" d="M571.43,-298.7C571.43,-298.7 571.43,-317.58 571.43,-317.58"/> <polygon fill="black" stroke="black" points="567.93,-317.58 571.43,-327.58 574.93,-317.58 567.93,-317.58"/> </g> <!-- ScrollableList --> <g id="node14" class="node"> <title>ScrollableList </title> <polygon fill="#fb8072" stroke="black" points="480.04,-363.59 381.96,-363.59 381.96,-327.59 480.04,-327.59 480.04,-363.59"/> <text text-anchor="middle" x="431" y="-341.39" font-family="Times,serif" font-size="14.00">ScrollableList </text> </g> <!-- DropdownModule&#45;&gt;ScrollableList --> <g id="edge13" class="edge"> <title>DropdownModule&#45;&gt;ScrollableList </title> <path fill="none" stroke="black" stroke-dasharray="5,2" d="M543.01,-291.59C507.31,-291.59 468.9,-291.59 468.9,-291.59 468.9,-291.59 468.9,-317.31 468.9,-317.31"/> <polygon fill="black" stroke="black" points="465.4,-317.31 468.9,-327.31 472.4,-317.31 465.4,-317.31"/> </g> <!-- { &#160;&#160;&#160;provide: NG_VALUE_ACCESSOR, useExisting: Dropdown, multi: true } --> <g id="node6" class="node"> <title>{ &#160;&#160;&#160;provide: NG_VALUE_ACCESSOR, useExisting: Dropdown, multi: true }</title> <ellipse fill="#fdb462" stroke="black" cx="835" cy="-127.3" rx="310.97" ry="41.09"/> <text text-anchor="middle" x="835" y="-139.9" font-family="Times,serif" font-size="14.00">{</text> <text text-anchor="middle" x="835" y="-123.1" font-family="Times,serif" font-size="14.00"> &#160;&#160;&#160;provide: NG_VALUE_ACCESSOR, useExisting: Dropdown, multi: true</text> <text text-anchor="middle" x="835" y="-106.3" font-family="Times,serif" font-size="14.00">}</text> </g> <!-- { &#160;&#160;&#160;provide: NG_VALUE_ACCESSOR, useExisting: Dropdown, multi: true }&#45;&gt;Dropdown --> <g id="edge3" class="edge"> <title>{ &#160;&#160;&#160;provide: NG_VALUE_ACCESSOR, useExisting: Dropdown, multi: true }&#45;&gt;Dropdown</title> <path fill="none" stroke="black" d="M936,-166.54C936,-166.54 936,-187.21 936,-187.21"/> <polygon fill="black" stroke="black" points="932.5,-187.21 936,-197.21 939.5,-187.21 932.5,-187.21"/> </g> <!-- I18nModule --> <g id="node7" class="node"> <title>I18nModule</title> <polygon fill="#8dd3c7" stroke="black" points="645.71,-233.59 642.71,-237.59 621.71,-237.59 618.71,-233.59 560.29,-233.59 560.29,-197.59 645.71,-197.59 645.71,-233.59"/> <text text-anchor="middle" x="603" y="-211.39" font-family="Times,serif" font-size="14.00">I18nModule</text> </g> <!-- I18nModule&#45;&gt;DropdownModule --> <g id="edge6" class="edge"> <title>I18nModule&#45;&gt;DropdownModule</title> <path fill="none" stroke="black" d="M603,-233.7C603,-233.7 603,-252.58 603,-252.58"/> <polygon fill="black" stroke="black" points="599.5,-252.58 603,-262.58 606.5,-252.58 599.5,-252.58"/> </g> <!-- IconModule --> <g id="node8" class="node"> <title>IconModule</title> <polygon fill="#8dd3c7" stroke="black" points="542.43,-233.59 539.43,-237.59 518.43,-237.59 515.43,-233.59 457.57,-233.59 457.57,-197.59 542.43,-197.59 542.43,-233.59"/> <text text-anchor="middle" x="500" y="-211.39" font-family="Times,serif" font-size="14.00">IconModule</text> </g> <!-- IconModule&#45;&gt;DropdownModule --> <g id="edge7" class="edge"> <title>IconModule&#45;&gt;DropdownModule</title> <path fill="none" stroke="black" d="M542.33,-215.59C547.97,-215.59 551.84,-215.59 551.84,-215.59 551.84,-215.59 551.84,-252.48 551.84,-252.48"/> <polygon fill="black" stroke="black" points="548.34,-252.48 551.84,-262.48 555.34,-252.48 548.34,-252.48"/> </g> <!-- PlaceholderModule --> <g id="node9" class="node"> <title>PlaceholderModule</title> <polygon fill="#8dd3c7" stroke="black" points="439.63,-233.59 436.63,-237.59 415.63,-237.59 412.63,-233.59 314.37,-233.59 314.37,-197.59 439.63,-197.59 439.63,-233.59"/> <text text-anchor="middle" x="377" y="-211.39" font-family="Times,serif" font-size="14.00">PlaceholderModule</text> </g> <!-- PlaceholderModule&#45;&gt;DropdownModule --> <g id="edge8" class="edge"> <title>PlaceholderModule&#45;&gt;DropdownModule</title> <path fill="none" stroke="black" d="M410.9,-233.6C410.9,-249.64 410.9,-270.59 410.9,-270.59 410.9,-270.59 533.27,-270.59 533.27,-270.59"/> <polygon fill="black" stroke="black" points="533.27,-274.09 543.27,-270.59 533.27,-267.09 533.27,-274.09"/> </g> <!-- UtilsModule --> <g id="node10" class="node"> <title>UtilsModule</title> <polygon fill="#8dd3c7" stroke="black" points="296.27,-233.59 293.27,-237.59 272.27,-237.59 269.27,-233.59 209.73,-233.59 209.73,-197.59 296.27,-197.59 296.27,-233.59"/> <text text-anchor="middle" x="253" y="-211.39" font-family="Times,serif" font-size="14.00">UtilsModule</text> </g> <!-- UtilsModule&#45;&gt;DropdownModule --> <g id="edge9" class="edge"> <title>UtilsModule&#45;&gt;DropdownModule</title> <path fill="none" stroke="black" d="M253,-233.86C253,-252.15 253,-277.59 253,-277.59 253,-277.59 533.23,-277.59 533.23,-277.59"/> <polygon fill="black" stroke="black" points="533.23,-281.09 543.23,-277.59 533.23,-274.09 533.23,-281.09"/> </g> <!-- DropdownService --> <g id="node15" class="node"> <title>DropdownService</title> <ellipse fill="#fdb462" stroke="black" cx="105" cy="-215.59" rx="81.08" ry="18"/> <text text-anchor="middle" x="105" y="-211.39" font-family="Times,serif" font-size="14.00">DropdownService</text> </g> <!-- DropdownService&#45;&gt;DropdownModule --> <g id="edge14" class="edge"> <title>DropdownService&#45;&gt;DropdownModule</title> <path fill="none" stroke="black" d="M105,-233.72C105,-254.16 105,-284.59 105,-284.59 105,-284.59 532.93,-284.59 532.93,-284.59"/> <polygon fill="black" stroke="black" points="532.93,-288.09 542.93,-284.59 532.93,-281.09 532.93,-288.09"/> </g> </g> </svg> </div> <i id="fullscreen" class="icon ion-ios-resize module-graph-fullscreen-btn" aria-hidden="true"></i> <div class="btn-group size-buttons"> <button id="zoom-in" class="btn btn-default btn-sm">Zoom in</button> <button id="reset" class="btn btn-default btn-sm">Reset</button> <button id="zoom-out" class="btn btn-default btn-sm">Zoom out</button> </div> </div> <script src="../js/libs/svg-pan-zoom.min.js"></script> <script src="../js/svg-pan-zoom.controls.js"></script> <ul class="nav nav-tabs" role="tablist"> <li class="nav-item"> <a href="#info" class="nav-link" class="nav-link active" role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a> </li> <li class="nav-item"> <a href="#source" class="nav-link" role="tab" id="source-tab" data-bs-toggle="tab" data-link="source">Source</a> </li> </ul> <div class="tab-content"> <div class="tab-pane fade active in" id="info"> <p class="comment"> <h3>File</h3> </p> <p class="comment"> <code>src/dropdown/dropdown.module.ts</code> </p> <div class="container-fluid module"> <div class="row"> <div class="col-sm-3"> <h3>Declarations<a href="https://angular.io/api/core/NgModule#declarations" target="_blank" rel="noopener noreferrer" title="Official documentation about module declarations"><span class="icon ion-ios-information-circle-outline"></span></a></h3> <ul class="list-group"> <li class="list-group-item"> <a href="../directives/AbstractDropdownView.html">AbstractDropdownView</a> </li> <li class="list-group-item"> <a href="../components/Dropdown.html">Dropdown</a> </li> <li class="list-group-item"> <a href="../components/DropdownList.html">DropdownList</a> </li> <li class="list-group-item"> <a href="../directives/ScrollableList.html">ScrollableList</a> </li> </ul> </div> <div class="col-sm-3"> <h3>Providers<a href="https://angular.io/api/core/NgModule#providers" target="_blank" rel="noopener noreferrer" title="Official documentation about module providers"><span class="icon ion-ios-information-circle-outline"></a></h3> <ul class="list-group"> <li class="list-group-item"> <a href="../injectables/DropdownService.html">DropdownService</a> </li> </ul> </div> <div class="col-sm-3"> <h3>Imports<a href="https://angular.io/api/core/NgModule#imports" target="_blank" rel="noopener noreferrer" title="Official documentation about module imports"><span class="icon ion-ios-information-circle-outline"></a></h3> <ul class="list-group"> <li class="list-group-item"> <a href="../modules/I18nModule.html">I18nModule</a> </li> <li class="list-group-item"> <a href="../modules/IconModule.html">IconModule</a> </li> <li class="list-group-item"> <a href="../modules/PlaceholderModule.html">PlaceholderModule</a> </li> <li class="list-group-item"> <a href="../modules/UtilsModule.html">UtilsModule</a> </li> </ul> </div> <div class="col-sm-3"> <h3>Exports<a href="https://angular.io/api/core/NgModule#exports" target="_blank" rel="noopener noreferrer" title="Official documentation about module exports"><span class="icon ion-ios-information-circle-outline"></a></h3> <ul class="list-group"> <li class="list-group-item"> <a href="../directives/AbstractDropdownView.html">AbstractDropdownView</a> </li> <li class="list-group-item"> <a href="../components/Dropdown.html">Dropdown</a> </li> <li class="list-group-item"> <a href="../components/DropdownList.html">DropdownList</a> </li> <li class="list-group-item"> <a href="../directives/ScrollableList.html">ScrollableList</a> </li> </ul> </div> </div> </div> </div> <div class="tab-pane fade tab-source-code" id="source"> <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { NgModule } from &quot;@angular/core&quot;; import { CommonModule } from &quot;@angular/common&quot;; import { FormsModule } from &quot;@angular/forms&quot;; import { Dropdown } from &quot;./dropdown.component&quot;; import { DropdownList } from &quot;./list/dropdown-list.component&quot;; import { AbstractDropdownView } from &quot;./abstract-dropdown-view.class&quot;; import { ScrollableList } from &quot;./scrollable-list.directive&quot;; import { I18nModule } from &quot;carbon-components-angular/i18n&quot;; import { PlaceholderModule } from &quot;carbon-components-angular/placeholder&quot;; import { DropdownService } from &quot;./dropdown.service&quot;; import { UtilsModule } from &quot;carbon-components-angular/utils&quot;; import { IconModule } from &quot;carbon-components-angular/icon&quot;; @NgModule({ declarations: [ Dropdown, DropdownList, ScrollableList, AbstractDropdownView ], exports: [ Dropdown, DropdownList, ScrollableList, AbstractDropdownView ], imports: [ CommonModule, FormsModule, I18nModule, PlaceholderModule, UtilsModule, IconModule ], providers: [ DropdownService ] }) export class DropdownModule {} </code></pre> </div> </div> </div><div class="search-results"> <div class="has-results"> <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1> <ul class="search-results-list"></ul> </div> <div class="no-results"> <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1> </div> </div> </div> <!-- END CONTENT --> </div> </div> <label class="dark-mode-switch"> <input type="checkbox"> <span class="slider"> <svg class="slider-icon" viewBox="0 0 24 24" fill="none" height="20" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" width="20" xmlns="http://www.w3.org/2000/svg"> <path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"></path> </svg> </span> </label> <script> var COMPODOC_CURRENT_PAGE_DEPTH = 1; var COMPODOC_CURRENT_PAGE_CONTEXT = 'module'; var COMPODOC_CURRENT_PAGE_URL = 'DropdownModule.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>