Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CompositeMenuNode

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

Hierarchy

  • CompositeMenuNode

Implements

Index

Constructors

Properties

_children: MenuNode[] = []
_when?: string
iconClass?: string
id: string

technical identifier.

label?: string

Optional label. Will be rendered as text of the menu item.

order?: string

A reference to the parent node - useful for determining the menu path by which the node can be accessed.

isNavigationGroup: ((node: MenuNode) => node is CompoundMenuNode) = CompoundMenuNode.isNavigationGroup

Type declaration

Accessors

  • get icon(): undefined | string
  • get isSubmenu(): boolean
  • get sortString(): string
  • get when(): undefined | string

Methods

  • removeNode(id: string): void