Enhanced extension management and variable types
In this release, the Designer API introduces key enhancements to improve extension lifecycle management and expand the types of variables available in the Designer.
Extension management
Programmatically close extensions and access contextual launch information
-
webflow.closeExtension()
Close the current extension. This enables more control over the extension lifecycle and user experience flows. -
webflow.getLaunchContext()
Retrieve initialization context information when an extension is launched. This method provides critical data about how the extension was activated, whether through an App Intent, App Connection, or deep link.
Variable system enhancements
Create and manage percentage and number variables for more flexible design systems
-
webflow.createPercentageVariable(options)
Create percentage-based variables for responsive design values such as opacity levels, width/height constraints, or other proportional measurements. -
webflow.createNumberVariable(options)
Create numeric variables for values that require precise control without measurement units, such as animation iterations, z-index values, or quantity indicators.