Skip to content

Type Editor


Type Editor / @type-editor/menu / types/ParentMenuElement / ParentMenuElement

Interface: ParentMenuElement

Defined in: packages/menu/src/types/ParentMenuElement.ts:8

This is mainly intended to use in dropdown menus, where the parent menu element needs to be notified when a sub-element becomes active especially to show the active label.

Methods

notifySubElementIsActive()

ts
notifySubElementIsActive(menuItemSpec): void;

Defined in: packages/menu/src/types/ParentMenuElement.ts:10

Parameters

ParameterType
menuItemSpecMenuItemSpec

Returns

void