Please enable JavaScript to view this site.

Navigation: Advanced topics > Programming topics > Tabs/Sections Javascript API > Sections methods

Sections API: collapse

Scroll Prev Next More

 

Collapses a section.

Syntax

collapse()

Arguments

No arguments.

Return value

No return value.

Example

Collapse the first section.

 

var sec = pageObj.getSection(0);
sec.collapse();

See also:

Sections API: getSection

Sections API: expand

About Tabs/Sections API