Skip to content

GemNavItem

GemNavItem renders a single, clickable entry of a GemNavList, e.g. a link to another page of the application.

GUI Model

component GemNavItem(
  String title,
  String target,
  String iconName = null,
  GUIViewElement component,
  Event<Void> leftClick
)
Name Type Description Default value
title String Text displayed for the navigation entry.
target String Route the navigation entry links to.
iconName String null
component GUIViewElement
leftClick Event<Void> Callback that is executed when the navigation entry is clicked.