CustomStateSet: keys() method
The keys() method of the CustomStateSet interface is an alias for CustomStateSet.values.
Syntax
js
keys()
Parameters
None.
Return value
A new iterator object containing the values for each element in the given CustomStateSet, in insertion order.
Specifications
| Specification |
|---|
| HTML Standard # custom-state-pseudo-class |
Browser compatibility
BCD tables only load in the browser