destroy method

void destroy()

Destroys an inbox and removes all event listeners it has running. Call this before removing the inbox container from the DOM.

Implementation

external void destroy();