This property is only available to Wix Studio users.
CustomClassList provides functionality for manipulating an element's custom CSS classes. For example, you can add a custom class to an element or replace an existing class with a new custom class.
Custom classes are those that you define for a site, not the predefined global classes that are provided for each element.
You define custom CSS classes in the global.css
file which can be accessed in the Page Code section of the editor.
With CustomClassList, you can use code to:
Note: CustomClassList only affects custom classes. If you use it for global classes, there is no effect on the element.