CustomStateSet: values() method

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

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

values()

Parameters

None.

Return value

A new iterator object containing the values for each element in the given CustomStateSet, in insertion order.

Specifications

Specification
Custom State Pseudo Class
# customstateset

Browser compatibility

BCD tables only load in the browser