Dropdown
Dropdown element is used to display the context menu after clicking the button. Allows the user to select one of the predefined options. It contains a Button element that acts as an activator and a Menu element with content in the form of individual MenuItem. items.
Basic Usage
Attributes and Properties
offset
Description | Specifies the distance of the context menu from the button. |
Attribute | offset |
Type | number |
Default | 0 |
placement
Description | Specifies the location of the hint after the value is copied. |
Attribute | placement |
Type | "bottom" | "bottom-end" | "bottom-start" | "left-bottom" | "left" | "left-top" | "right-bottom" | "right" | "right-top" | "top" | "top-end" | "top-start" | string & Record<never, never> | undefined |
Default | undefined |
Events
No events available for this component.
Methods
No public methods available for this component.
CSS Shadow Parts
Name | Description |
---|---|
native | Refers to the div element inside the dropdown |
CSS Custom Properties
No CSS custom properties available for this component.
Slots
No slots available for this component.