Api
ContextMenuRendererFactory
Integration guide · Reference index
Public contract reference. This declaration describes types and callback shapes; availability is constrained by the linked integration guide and the runtime capability. Legacy product-specific fields are not a promise of implementation.
export type ContextMenuRendererFactory = (
items: readonly IActionVariant[],
params: CreateContextMenuParams,
onDestroy: () => void,
) => Promise<IContextMenuRenderer | null>;