Felt
Last updated
Was this helpful?
Last updated
Was this helpful?
const
Felt: {embed
:Promise
<>;connect
:Promise
<>; }
The Felt SDK is a library for embedding Felt maps into your website, allowing you to control and inspect the map programmatically.
Embeds a Felt map into the provided container, returning a promise that resolves to a object that you can use to control the map.
container
HTMLElement
The container element to embed the map into.
mapId
string
The ID of the map to embed.
options
?
The options to configure the map.
Promise
<>
A promise for a .
Binds to an existing Felt map iframe.
feltWindow
Pick
<Window
, "postMessage"
>
The iframe element containing the Felt map.
Promise
<>