Skip to main content

Function: getObjectPageSections()

getObjectPageSections(page): Promise<readonly ObjectPageSection[]>

Defined in: src/fe/object-page.ts:257

Returns all sections in the Object Page with visibility, index, and sub-sections.

Parameters​

page​

ObjectPagePage

Page to evaluate on.

Returns​

Promise<readonly ObjectPageSection[]>

Array of section descriptors.

Example​

const sections = await getObjectPageSections(page);