pui.expandAccordionSection( id, section )



This API expands a specific section of an accordion layout.

Parameters:

  • id - the id of the layout

  • section - specifies the section to expand; each section within an accordion is identified by a sequential index, starting with 0 for the first section, 1 for the second section, and so on

Example:

In this example, the second section of the accordion layout will be expanded.

pui.expandAccordionSection("Layout1", 1);