add( )


Adds custom CSS classes to an element's class list.

Adds one or more custom CSS classes to the class list of an element.

Method Declaration
Copy
Method Parameters
classNameArray<string>Required

The names of the custom classes to add to an element.

Was this helpful?
Yes
No