pub fn MenuButton(_: MenuButtonProps) -> ElementExpand 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.
label:AccessibleNameNames the menu.
entries:Vec<MenuEntry>onselect:EventHandler<String>variant:ButtonVariantsize:ButtonSizeicon_label:Option<AccessibleName>Select icon-only layout with a required accessible name.
availability:Availabilitychildren:Element