open-vault/ui/lib/core/stories/popup-menu.md

936 B

PopupMenu

PopupMenu displays a button that when pressed will toggle open a menu that is yielded in the content block.

Param Type Default Description
contentClass String '' A class that will be applied to the yielded content of the popup.

Example

<PopupMenu><nav class="menu"> <ul class="menu-list"> <li class="action"> <button type="button">A menu!</button> </li> </ul> </nav></PopupMenu>

See