Skip to content

MenuOptions

Defined in: components/menu.ts:50

Options for menuButton and MainOptions.nav.

items: MenuEntry[]

Defined in: components/menu.ts:52

Items shown in the dropdown or sidebar nav.


optional button?: ButtonOptions

Defined in: components/menu.ts:60

Customize the trigger button rendered by menuButton. Defaults to a icon button. The click handler is managed internally.

When used as a nav in S.main(), this also customizes the hamburger button shown when the sidebar collapses.


optional dropdownAttrs?: string

Defined in: components/menu.ts:62

Aberdeen attr/style string on the floating dropdown panel.