@cds/core
Version:
Clarity Design System - common components, themes, and utilties
43 lines (42 loc) • 1.23 kB
TypeScript
import { CdsInternalPopup } from '@cds/core/internal-components/popup';
/**
* Dropdowns are generic containers that are positioned on a page dynamically
* based on how much space is available. Any content can be placed inside
* a dropdown.
*
* ```typescript
* import '@cds/core/dropdown/register.js';
* ```
*
* ```html
* <cds-dropdown>...</cds-dropdown>
* ```
* @beta
* @element cds-dropdown
* @slot - Content slot for the content inside the popup's panel
* @event closeChange - Notify user when close event has occurred
* @property anchor
* @cssprop --active-corner-border-radius
* @cssprop --background
* @cssprop --backdrop-background
* @cssprop --layered-backdrop-background
* @cssprop --border-color
* @cssprop --border-radius
* @cssprop --border-width
* @cssprop --box-shadow
* @cssprop --close-button-offset
* @cssprop --color
* @cssprop --min-height
* @cssprop --min-width
* @cssprop --max-height
* @cssprop --max-width
* @cssprop --mobile-max-height
* @cssprop --overflow - sets overflow x and y values respectively
* @cssprop --height
* @cssprop --width
* @cssprop --animation-duration
* @cssprop --animation-easing
*
*/
export declare class CdsDropdown extends CdsInternalPopup {
}