attachSDKToContainer()
This function does the opposite of detachSDKFromContainer. This function is used to attach the SDK to a DOM element. You can see what it looks like by going to the dev sandbox and clicking the button "Attach to special container" at the bottom of the page. Here is the function API and some example usage:
/**
* Attaches the SDK to a container. It will fill the entire space of the container provided
* @param containerElementId - the id of the element that you wish to fill with the SDK
*/
export const attachSDKToContainer = async (containerElementId: string): Promise<void>;
// Example Usage:
// This will attach the SDK to the element #special-container
const someFunction = () => {
attachSDKToContainer('special-container');
}