getInstance();
The getInstance method returns a bubble tree instance.
The method returns value of the PP.UI.BubbleTree type.
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:
// Get an instance of bubble tree var instance = bubbleTreeBox.getInstance(); if (instance) { // Delete bubble tree instance.dispose(); };
After executing the example all contents of the bubble tree container are removed.
See also: