Type Alias DropdownCloseEventDetails

DropdownCloseEventDetails: {
    dropdownMenu: DropdownMenuElement;
    triggeringElement: Element;
}

The "dropdownClose" event details. See the documentation for each property for further explanation.

Type declaration

  • dropdownMenu: DropdownMenuElement

    The <dropdown-menu> about to be closed.

  • triggeringElement: Element

    The linked element which triggered the opening of the menu. This would be the element in which the "click" or "contextmenu" event was listed to.