Skip to content
PHP Ecosystem
Explore

MenuItemType

API reference › Bootstrap 6 › enum › MenuItemType

enumyii2\extensions\bootstrap6\enum\MenuItemType
Backed bystring
Sourcesrc/enum/MenuItemType.php

Represents the kinds of MenuItem rendered by the Menu widget.

CaseValueDescription
BUTTON'button'Renders the menu item as a button.
DIVIDER'divider'Renders a divider between menu items.
HEADER'header'Renders a heading for a group of menu items.
LINK'link'Renders the menu item as a link.
SUBMENU'submenu'Renders the menu item as a submenu.
TEXT'text'Renders non-interactive text in the menu.