Skip to main content

AdminForthMenuTypes

Enumeration Members

divider

divider: "divider"

DIVIDER is a divider between menu items.


gap

gap: "gap"

GAP ads some space between menu items.


group

group: "group"

GROUP is a group of menu items. Respects label, icon and children properties in AdminForthConfigMenuItem use @AdminForthMenuTypes.open to set if group is open by default


heading

heading: "heading"

HEADING is just a label in the menu. Respect label and icon property in AdminForthConfigMenuItem


page

page: "page"

PAGE is a link to a custom page. Respects label, icon, path, component, homepage, isStaticRoute, properties in AdminForthConfigMenuItem

Example:

\{
type: AdminForthMenuTypes.PAGE,
label: 'Custom Page',
icon: 'home',
path: '/dash',
component: '@@/Dashboard.vue',
homepage: true,
\}

resource

resource: "resource"

RESOURCE is a link to a resource. Respects label, icon, resourceId, homepage, isStaticRoute properties in AdminForthConfigMenuItem