load method
The load()
method of the FontFace interface requests and loads a
font whose source
was specified as a URL. It returns a Promise
that
resolves with the current FontFace
object.
If the source
for the font face was specified as binary data, or the
font FontFace.status property of the font face is anything other than
unloaded
, then this method does nothing.
Implementation
external JSPromise<FontFace> load();