Skip to main content

blockly > ContextMenuRegistry > getItem

ContextMenuRegistry.getItem() method

Signature:

getItem(id: string): RegistryItem | null;

Parameters

Parameter

Type

Description

id

string

The ID of the RegistryItem to get.

Returns:

RegistryItem | null

RegistryItem or null if not found