Skip to content

Documentation / @frak-labs/core-sdk / index / createIframe

Function: createIframe()

createIframe(args): Promise<HTMLIFrameElement | undefined>

Defined in: utils/iframeHelper.ts:31

Create the Frak iframe

Parameters

args

config?

FrakWalletSdkConfig

The configuration object containing iframe options, including the replacement for walletBaseUrl.

walletBaseUrl?

string

Use config.walletUrl instead. Will be removed in future versions.

Returns

Promise<HTMLIFrameElement | undefined>