Get the selected component (Beta)
Get the selected component (Beta)
webflow.getCurrentComponent()
Retrieves the component that is currently being edited.
Beta
These methods are in public beta and may change with future releases.
Syntax
Returns
Promise<Component>
A Promise that resolves to a component or null if no component is currently being edited.
Example
Designer Ability
Checks for authorization only