Exit out of a component
webflow.exitComponent()
Exit the focus of the Designer from a component definition. After exiting out of a component, the focus of the Designer will return to the body
of the page.
Syntax
Returns
Promise<null
>
A Promise that resolves to null
when the context switch is successful.
Example
Designer Ability
Checks for authorization only