CustomStateSet: values() method
Web Components
Web Components
The **`values()`** method of the CustomStateSet interface returns a new iterator object that yields the values for each element in the `CustomStateSet` object in insertion order.
## Syntax
```js-nolint
values()
```
### Parameters
None.
### Return value
A new iterator object containing the values for each element in the given `CustomStateSet`, in insertion order.
## Specifications
## Browser compatibility
source: MDN Web Docs mirror · page
Cite this
"CustomStateSet: values() method". MDN Web Docs. CC BY-SA 2.5 (MDN). https://developer.mozilla.org/en-US/docs/Web/API/CustomStateSet/values JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy