FontFaceSet: clear() method
CSS Font Loading API
CSS Font Loading API
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
clear()
Parameters
None.
Return value
None (undefined).