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