classList
Description
The classList of Element for JS allows for manipulation of element’s class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.
Syntax
element.classList
The classList of Element for JS allows for manipulation of element’s class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.
element.classList