Skip to content

Type alias: ContextMenuCallback

addons/api/api.ContextMenuCallback

ContextMenuCallback: (items: ContextMenuItem[], block: unknown, event: unknown) => ContextMenuItem[]

Type declaration

(items, block, event): ContextMenuItem[]

Parameters
NameType
itemsContextMenuItem[]
blockunknown
eventunknown
Returns

ContextMenuItem[]

Powered by TypeDoc & VitePress.