CustomStateSet: entries() method

فهرست فصل‌ها دانلود آرشیوناشر

MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونه‌کد

{{APIRef("Web Components")}}

The **entries** method of the {{domxref("CustomStateSet")}} interface returns a new iterator object, containing an array of [value,value] for each element in the CustomStateSet.

Syntax

js-nolint
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

{{Specifications}}

Browser compatibility

{{Compat}}