Skip to main content

Function: createContainer()

createContainer(id): HTMLDivElement

Defined in: utilities/create-container.ts:7

Creates a new HTML div element with the specified ID and appends it to the document body.

Parameters

id

string

The ID to assign to the created div element.

Returns

HTMLDivElement

The created div element.