Menubar
A menu bar providing commands and options for your application.
API reference#
Import the components of the family:
use Phem\Ui\Menubar;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.
| Prop | Type | Default |
|---|---|---|
orientation | 'horizontal' | 'vertical' | Orientation::Horizontal |
loopFocus | bool | true |
modal | bool | true |
disabled | bool | false |
children | ?Html | null |
...attrs | array | [] |
The source of the examples: examples/ui/Menubar.phem.