HomeGuidesReference
Log In

destroy()

element.destroy()

Removes the EBT Element from the DOM and destroys it. A destroyed element cannot be re-mounted to the DOM.

Example

Destroy a ForagePinElement

In this example, the ForagePinElement is used for a balance check:

balanceElement.destroy()