Get style by name
webflow.getStyleByName(name)
Retrieve a Style by its name.
Syntax
Parameters
name
: string - The name of the style to retrieve.
Returns
Promise<Style
| null
>
A Promise that resolves to a style object, or null
if the named style doesn’t exist.
Example
Designer Ability
Checks for authorization only