Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CompositeMenuNode

Node representing a (sub)menu in the menu tree structure.

Hierarchy

  • CompositeMenuNode

Implements

Index

Constructors

constructor

Properties

Protected Readonly _children

_children: MenuNode[] = []

Optional iconClass

iconClass: undefined | string

Readonly id

id: string

Optional label

label: undefined | string

Optional order

order: undefined | string

Accessors

children

  • get children(): ReadonlyArray<MenuNode>

isSubmenu

  • get isSubmenu(): boolean

sortString

  • get sortString(): string

Methods

addNode

removeNode

  • removeNode(id: string): void

Static isNavigationGroup

  • isNavigationGroup(node: MenuNode): node is CompositeMenuNode