element.mount(htmlElementId)
Attaches the EBT Element to the HTML container indicated by the provided ID.
Parameters
| Type | Description | |
|---|---|---|
htmlElementIdrequired | string | The 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 ForagePinElement to the DOM
ForagePinElement to the DOMIn this example, the ForagePinElement is used for a balance check:
balanceElement.mount('balance-check-container')
