Get the current page
webflow.getCurrentPage()
Retrieves the current page open in the Designer.
Syntax
Returns
Promise<Page>
A Promise that resolves to the current page.
Example
Branch pages
The returned page might be a branch.
Use page.getBranchId() to check whether the current page is a branch, and page.getParentPageId() to get the source page ID.
Designer Ability
Checks for authorization only