Wix.Styles

getStyleId

Wix.Styles.getStyleId(callback)

Retrieves the component’s styleId. The styleId represents a set of style parameters we’ve stored for a specific component – colors, fonts, numbers, and booleans.

 

Parameters:

NameTypeDescription

Example:

getStyleParams

Wix.Styles.getStyleParams([callback])

Retrieves the style parameters of the current component: booleans, numbers, colors, and fonts.

Note:
If calling this method in the settings endpoint, it returns the style parameters of the component that opened the settings endpoint.

Parameters:

NameTypeDescription

Example:

Returns:

Was this page helpful?

What can we do to improve it?

What did you like about it?