The <luna-dropdown> component displays a popup menu with flexible positioning and support for nested dropdowns.
Paths
/lunadom/components/dropdown/dropdown.js /lunadom/components/menu/menu.js /lunadom/components/menu-item/menu-item.js Placements
Nested Interactions
Customization
default - Menu content (typically <luna-menu>)trigger - Element that triggers the dropdownplacement - Dropdown position ('top-start', 'top-end', 'bottom-start', 'bottom-end', 'right-start', 'left-start')open - Whether the dropdown panel is currently visible--luna-dropdown-bg - Background color of the dropdown panel--luna-dropdown-border - Border color of the dropdown panel--luna-dropdown-radius - Border radius for the panel corners--luna-dropdown-shadow - Box shadow for the panel--luna-dropdown-z - Z-index for the panelluna-show - Emitted when the dropdown panel opensluna-hide - Emitted when the dropdown panel closes