This documentation is under construction. Pages can be missing or change at any time. Follow it on GitHub.

Skip to content

Menubar

A menu bar providing commands and options for your application.

API reference#

Import the components of the family:

use Phem\Ui\Menubar;

A bar of menus, as the menu bar of an application: Base UI Menubar, on the phem-menubar controller. Put a Menu for each menu in it: its MenuTrigger gets the look of the bar.

PropTypeDefault
orientation'horizontal' | 'vertical'Orientation::Horizontal
loopFocusbooltrue
modalbooltrue
disabledboolfalse
children?Htmlnull
...attrsarray[]

The source of the examples: examples/ui/Menubar.phem.

Phem
Esc
↑↓ to navigate↵ to openEsc to close