FontFaceSet: size-Eigenschaft
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since January 2020.
Hinweis: Diese Funktion ist in Web Workers verfügbar.
Die size
-Eigenschaft des FontFaceSet
-Interfaces gibt die Anzahl der Elemente im FontFaceSet
zurück.
Wert
Ein ganzzahliger Wert, der die Anzahl der Elemente im FontFaceSet
angibt.
Beispiele
Im folgenden Beispiel wird die size
des FontFaceSet
in der Konsole ausgegeben.
console.log(document.fonts.size);
Spezifikationen
No specification found
No specification data found for api.FontFaceSet.size
.
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-Kompatibilität
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
size |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support