CustomStateSet: keys() method
MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونهکد
{{APIRef("Web Components")}}
The **keys()** method of the {{domxref("CustomStateSet")}} interface is an alias for {{domxref("CustomStateSet.values")}}.
Syntax
js-nolint
keys()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}}