CDN artifacts are also available and can be added directly to the page (starting
at version v1.16.0):
<!doctype html><html><head><scripttype="module"src="https://1.www.s81c.com/common/carbon/web-components/version/v2.24.0/dropdown.min.js"></script><styletype="text/css"><!-- hide custom element until it has been defined //-->
cds-dropdown:not(:defined),
cds-dropdown-item:not(:defined) {
visibility: hidden;
}
</style></head><body><divid="app"><cds-dropdowntrigger-content="Select an item"><cds-dropdown-itemvalue="all">Option 1</cds-dropdown-item><cds-dropdown-itemvalue="cloudFoundry">Option 2</cds-dropdown-item><cds-dropdown-itemvalue="staging">Option 3</cds-dropdown-item><cds-dropdown-itemvalue="dea">Option 4</cds-dropdown-item><cds-dropdown-itemvalue="router">Option 5</cds-dropdown-item></cds-dropdown></div></body></html>
We're always looking for contributors to help us fix bugs, build new features,
or help us improve the project documentation. If you're interested, definitely
check out our Contributing Guide!
This package uses IBM Telemetry to collect de-identified and anonymized metrics
data. By installing this package as a dependency you are agreeing to telemetry
collection. To opt out, see
Opting out of IBM Telemetry data collection.
For more information on the data being collected, please see the
IBM Telemetry documentation.