Skip to content

dispatchCtaClick

dispatchCtaClick(uiPath, context, resolvers, fallback?): boolean

Dispatch a CTA activation: invoke the registered resolver for the action type if one exists, otherwise fall back to the supplied callback.

Returns true when a registered resolver handled the click, false when it fell through to fallback. A registered resolver fully handles the action — the fallback is not also called.

PlacementUiPath

CtaResolverContext

CtaResolverRegistry

(uiPath) => void

boolean