A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/clear below:

FontFaceSet: clear() method - Web APIs

MDN Web Docs
  1. Web
  2. Web APIs
  3. FontFaceSet
  4. clear()

Filter sidebar

In this article
  1. CSS Font Loading API
  2. FontFaceSet
  3. Instance properties
    1. ready
    2. size
    3. status
  4. Instance methods
    1. add()
    2. check()
    3. clear()
    4. delete()
    5. entries()
    6. forEach()
    7. has()
    8. keys()
    9. load()
    10. values()
  5. Events
    1. loading
    2. loadingdone
    3. loadingerror
  6. Inheritance
    1. EventTarget
  7. Related pages for CSS Font Loading API
    1. Document.fonts
    2. FontFace
    3. FontFaceSetLoadEvent
    4. WorkerGlobalScope.fonts
In this article FontFaceSet: clear() method

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.

Note: This feature is available in Web Workers.

The clear() method of the FontFaceSet interface removes all fonts added via this interface. Fonts added with the @font-face rule are not removed.

Syntax

js

clear()
Parameters

None.

Return value

None (undefined).

Specifications Specification CSS Font Loading Module Level 3
# dom-fontfaceset-clear
Browser compatibility Help improve MDN Was this page helpful to you? Learn how to contribute

.

This page was last modified on Oct 8, 2024 by MDN contributors.

View this page on GitHub

•

Report a problem with this content

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4