element.mount(htmlElementId)

Attaches the EBT Element to the HTML container indicated by the provided ID.

Parameters

TypeDescription
htmlElementId

required

stringThe ID of the container element where the EBT Element is to be mounted. The container should be a <div> with a unique ID attribute.

Example

Mount a ForageEbtBalanceElement to the DOM

ebtBalanceCheckElement.mount('balance-check-container')