Options
All
  • Public
  • Public/Protected
  • All
Menu

Input menu item configuration

description

Defines a button in the input panel menu

Hierarchy

  • InputMenumItem

Index

Properties

id: string

Menu item ID. Used in click events and for i18n text lookup.

order: number

Sort order. Lower values appear first when multiple items have the same position.

icon: string

Menu item icon URL

hoverIcon?: string

Hover state icon URL (optional)

submenu?: InputMenumItem[]

Submenu items. If present, clicking this item shows a submenu instead of triggering an action.

Methods

  • Filter function to control when this menu item is visible

    Parameters

    Returns boolean

    true to show, false to hide