Back to Content

CustomStateSet: values() method

files/en-us/web/api/customstateset/values/index.md

latest492 B
Original Source

{{APIRef("Web Components")}}

The values() method of the {{domxref("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

{{Specifications}}

Browser compatibility

{{Compat}}