In package com.eden.orchid.api.theme.menus

class com.eden.orchid.api.theme.menus.MenuItem

Fields

children: List
isHasChildren: Boolean
context: OrchidContext
title: String
page: OrchidPage?
anchor: String
isSeparator: Boolean
var allData: Map
var indexComparator: Comparator?

Methods

fun isActive(page: OrchidPage): Boolean
Parameters:
fun isActivePage(page: OrchidPage): Boolean
Parameters:
fun hasActivePage(page: OrchidPage): Boolean
Parameters:
fun activeClass(page: OrchidPage, className: String): String
Parameters:
fun hasChildren(): Boolean
Parameters:
  • No parameters
operator fun get(key: String): Any?
Parameters:
  • key: String
fun toBuilder(): Builder
Parameters:
  • No parameters