BubbleTreeBox.getInstance

Syntax

getInstance();

Description

The getInstance method returns a bubble tree instance.

Comments

The method returns value of the PP.UI.BubbleTree type.

Example

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:

BubbleTreeBox