CustomStateSet: entries() method

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

The entries method of the CustomStateSet interface returns a new iterator object, containing an array of [value,value] for each element in the CustomStateSet.

Syntax

js

entries()

Parameters

None.

Return value

A new iterator object that contains an array of [value, value] for each element in the CustomStateSet, in insertion order.

Specifications

Specification
Custom State Pseudo Class
# customstateset

Browser compatibility

BCD tables only load in the browser