Enter into a component
webflow.enterComponent(instance)
Focus the Designer on a component definition in order to make changes. When a component is in focus, all globals pertain specifically to that component definition, not the entire Site.
Syntax
Parameters
- instance: ComponentElement - A Component Instance that is present on the page. If there’s no current instance, you’ll need to create one first.
Returns
Promise<null
>
A Promise that resolves to null
when the context switch is successful.