Class FontFaceSetLoadEvent
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
The FontFaceSetLoadEvent interface of the CSS Font Loading API represents events fired at a FontFaceSet after it starts loading font faces.
[Value("FontFaceSetLoadEvent")]
public class FontFaceSetLoadEvent : Event
- Inheritance
-
FontFaceSetLoadEvent
- Inherited Members
Remarks
Events are fired when font loading starts (loading), loading completes (loadingdone) or there is an error loading one of the fonts (loadingerror).
-Document.Fonts
-WorkerGlobalScope.Fonts
Constructors
FontFaceSetLoadEvent()
public FontFaceSetLoadEvent()
FontFaceSetLoadEvent(string, FontFaceSetLoadEventInit)
The FontFaceSetLoadEvent() constructor creates a new
FontFaceSetLoadEvent object which is fired whenever a
FontFaceSet loads.
public FontFaceSetLoadEvent(string type, FontFaceSetLoadEventInit eventInitDict = null)
Parameters
typestringeventInitDictFontFaceSetLoadEventInit
Remarks
Properties
Fontfaces
The fontfaces read-only property of the
FontFaceSetLoadEvent interface returns an array of
FontFace instances, each of which represents a single usable font.
[Value("fontfaces")]
public FontFace[] Fontfaces { get; }