FontFaceSetLoadEvent Class

The event fired when a FontFaceSet starts or finishes loading fonts (https://drafts.csswg.org/css-font-loading/#fontfacesetloadevent).

public sealed class FontFaceSetLoadEvent : Event
Inheritance
Event FontFaceSetLoadEvent

Constructors

NameDescription
FontFaceSetLoadEvent(string, FontFaceSetLoadEventInit?)Creates an event of the given type with the font faces of the initialization dictionary.

FontFaceSetLoadEvent(string, FontFaceSetLoadEventInit?)

FontFaceSet.cs

Creates an event of the given type with the font faces of the initialization dictionary.

public FontFaceSetLoadEvent(string type, FontFaceSetLoadEventInit? eventInitDict = null)

Properties

NameDescription
FontFacesGets the font faces that started or finished loading.

Gets the font faces that started or finished loading.

public IReadOnlyList<FontFace> FontFaces { get; }