The keys() method of the FontFaceSet interface is an alias for FontFaceSet.values.
On this page
FontFaceSet: keys() method
Syntax
js
keys()
Parameters
None.
Return value
A new iterator object containing the values for each element in the given FontFaceSet, in insertion order.
Specifications
No specification found
No specification data found for api.FontFaceSet.keys.
Check for problems with this page or contribute a missing spec_url to mdn/browser-compat-data. Also make sure the specification is included in w3c/browser-specs.
Browser compatibility
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
keys |
48 | 79 | 41 | No | 35 | 10 | 48 | 48 | 41 | 35 | 10 | 5.0 |
© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/keys