Function moxie_dom::elements::interactive::menu[][src]

pub fn menu() -> MenuBuilder
Expand description

The HTML <menu> element represents a group of commands that a user can perform or activate. This includes both list menus, which might appear across the top of a screen, as well as context menus, such as those that might appear underneath a button after it has been clicked.

A function for creating a builder which will accept attributes and produce the element.