Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.cloud.coinbase.com/llms.txt

Use this file to discover all available pages before exploring further.

function sendIframeMessage<T>(el: null | HTMLIFrameElement, message: T): void;
Sends a message to an iframe.

Type Parameters

Type Parameter
T extends Record<string | number | symbol, unknown>

Parameters

ParameterTypeDescription
elnull | HTMLIFrameElementThe iframe element to send the message to.
messageTThe message to send to the iframe.

Returns

void