Element.add_to_class_list#

Element.add_to_class_list(cls)[source]#

Adds the specified class to the HTML element if it does not exist.