page.getDescription()

Get the description of the page.

Syntax

1page.getDescription(): Promise<null | string>

Returns

Promise<null | string>

A promise that resolves to the description of the page.

Example

1// Get Current Page
2const currentPage = await webflow.getCurrentPage() as Page
3
4// Get page Description
5const pageDescription = await currentPage.getDescription()
6console.log(pageDescription)

Designer Ability

Designer AbilityLocaleBranchWorkflowSitemode
canReadPageSettingsAnyAnyAnyAny
Built with