Create style
webflow.createStyle(name)
Create a new style with a provided name. Provide a parent style to create a combo class.
Syntax
Parameters
name
: String - The name of the style.options
: Object - An object containing the following properties:parent
: Style - A style object that will be the parent of the combo class style.
Returns
Promise<Style>
A Promise that resolves to a Style object.