getDisplay() → {Display}
Description
Gets information about the current display options, such as the number of columns displayed, the display option ID, and the display option name. This method works only when the current view is the search page.
var plp = container.getComponent('PLP');
plp.getDisplay();
// Example of the object returned by getDisplay()
{
columns: 2,
icon: "icon-display-table",
id: "table",
isDefault: false,
name: "Table",
template: "facets_item_cell_table.tpl"
}