clearInstance();
The clearInstance method removes bubble tree from container.
Executing the example requires that the HTML page contains the BubbleTreeBox component named bubbleTreeBox (see Example of Creating the BubbleTreeBox Component). Remove bubble tree from the container:
bubbleTreeBox.clearInstance();
After executing the example all contents of the bubble tree container are removed.
See also: