Type alias: ContextMenuCallback
addons/api/api.ContextMenuCallback
ContextMenuCallback: (items
: ContextMenuItem
[], block
: unknown
, event
: unknown
) => ContextMenuItem
[]
Type declaration
(items
, block
, event
): ContextMenuItem
[]
Parameters
Name | Type |
---|---|
items | ContextMenuItem [] |
block | unknown |
event | unknown |