Skip to content

HyMenubar

A horizontal role="menubar" container. Owns cross-item keyboard navigation (ArrowLeft / ArrowRight / Home / End) and the hover-tracking flag that makes "open one menubar dropdown, move mouse, next menubar dropdown opens on hover" work the way desktop menus do.

Items are slotted hy-menubar-item elements.

Slots

  • default - hy-menubar-item children.

Methods

getItems()

Returns all slotted menubar items in source order.

Built with Lit. Documented with VitePress.