blockly > ContextMenuRegistry > getItem
Metoda ContextMenuRegistry.getItem()
Podpis:
getItem(id: string): RegistryItem | null;
Parametry
Parametr | Typ | Opis |
---|---|---|
id | ciąg znaków | Identyfikator elementu RegistryItem do pobrania. |
Zwraca:
RegistryItem | null
W przypadku braku wartości RegistryItem lub null