Skip to main content

MenuButton

Function MenuButton 

Source
pub fn MenuButton(_: MenuButtonProps) -> Element
Expand description

A button that opens a menu beneath itself, on the WAI-ARIA menu button pattern: click, Enter, or Space toggle it; Arrow Down opens at the first item and Arrow Up at the last. aria-expanded follows the menu.

ยงProps

For details, see the props struct definition.