BorderCombo.getDropPanel

Syntax

getDropPanel();

Description

The getDropPanel method returns the drop-down part of the component.

Comments

Returned value is an object of the PP.UI.DropPanel class.

Example

To execute the example the page must contain the BorderCombo component named borderCombo (see Example of Creating the BorderCombo Component). Check whether the panel is opened now:

// Open the panel
borderCombo.getDropPanel().show();
// Check whether the panel is opened
if (borderCombo.getDropPanel().getDroppedDown()) {    
    console.log("Panel is expanded");
} else {    
    console.log("Panel is hidden");
}

As a result the console displays check result:

Panel is hidden

See also:

BorderCombo