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/FontFaceSetLoadEvent/FontFaceSetLoadEvent below:

FontFaceSetLoadEvent: FontFaceSetLoadEvent() constructor - Web APIs

FontFaceSetLoadEvent: FontFaceSetLoadEvent() constructor

Limited availability

Note: This feature is available in Web Workers.

The FontFaceSetLoadEvent() constructor creates a new FontFaceSetLoadEvent object which is fired whenever a FontFaceSet loads.

Syntax
new FontFaceSetLoadEvent(type)
new FontFaceSetLoadEvent(type, options)
Parameters
type

A string with the name of the event. It is case-sensitive and browsers always set it to loading, loadingdone, or loadingerror.

options Optional

An object that, in addition of the properties defined in Event(), can have the following properties:

fontfaces Optional

An array of FontFace instances. It defaults to the empty array.

Return value

A new FontFaceSetLoadEvent object.

Specifications Browser compatibility

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