closeFloatingMenu
closeFloatingMenu(
anchor?):void
Defined in: components/menu.ts:646
Close the open floating menu (if any), returning focus to its anchor. With an
anchor, only closes when the open menu belongs to it, so dismissing your own
menu can’t steal someone else’s.
Parameters
Section titled “Parameters”anchor?
Section titled “anchor?”HTMLElement
Returns
Section titled “Returns”void