The CustomStateSet interface of the Document Object Model stores a list of states for an autonomous custom element, and allows states to be added and removed from the set.
CustomStateSet
MDN Reference
Optional
The
CustomStateSet
interface of the Document Object Model stores a list of states for an autonomous custom element, and allows states to be added and removed from the set.MDN Reference