The FontFaceSet interface of the CSS Font Loading API manages loading of font-faces and querying of their download status.
The FontFaceSet interface of the CSS Font Loading API manages loading of font-faces and querying of their download status.
(add this & args)
Method.
Adds a font to the font set.
Method. Adds a font to the font set.
(check this & args)
Method.
A js.Boolean
that is true if the font list is available
bool = aFontFaceSet.check(font); bool = aFontFaceSet.check(font, text);
See also: https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/check
Method. A `js.Boolean` that is true if the font list is available `bool = aFontFaceSet.check(font); bool = aFontFaceSet.check(font, text);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/check`
(load this & args)
Method.
A js.Promise
of an js.Array
of web.fonts.FontFace
loaded.
promise is fulfilled when all the fonts are loaded; it is rejected
one of the fonts failed to load.
`result = aFontFaceSet.load(font);
result = aFontFaceSet.load(font, text);`
See also: https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/load
Method. A `js.Promise` of an `js.Array` of `web.fonts.FontFace` loaded. promise is fulfilled when all the fonts are loaded; it is rejected one of the fonts failed to load. `result = aFontFaceSet.load(font); result = aFontFaceSet.load(font, text);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/load`
(onloading this)
Property.
An EventListener called whenever an event of type loading is indicating a font-face set has started loading.
Property. An EventListener called whenever an event of type loading is indicating a font-face set has started loading.
(ready this)
Property.
The ready readonly property of the web.fonts.FontFaceSet
interface
a js.Promise
that resolves to the given web.fonts.FontFaceSet
.
fontFaceSet.ready.then(function(fontFaceSet) { // ... });
See also: https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/ready
Property. The ready readonly property of the `web.fonts.FontFaceSet` interface a `js.Promise` that resolves to the given `web.fonts.FontFaceSet`. `fontFaceSet.ready.then(function(fontFaceSet) { // ... });` See also: `https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/ready`
(set-onloading! this val)
Property.
An EventListener called whenever an event of type loading is indicating a font-face set has started loading.
Property. An EventListener called whenever an event of type loading is indicating a font-face set has started loading.
(set-ready! this val)
Property.
The ready readonly property of the web.fonts.FontFaceSet
interface
a js.Promise
that resolves to the given web.fonts.FontFaceSet
.
fontFaceSet.ready.then(function(fontFaceSet) { // ... });
See also: https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/ready
Property. The ready readonly property of the `web.fonts.FontFaceSet` interface a `js.Promise` that resolves to the given `web.fonts.FontFaceSet`. `fontFaceSet.ready.then(function(fontFaceSet) { // ... });` See also: `https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/ready`
(set-status! this val)
Property.
Indicates the font-face's loading status. It will be one of 'loading' 'loaded'.
Property. Indicates the font-face's loading status. It will be one of 'loading' 'loaded'.
(status this)
Property.
Indicates the font-face's loading status. It will be one of 'loading' 'loaded'.
Property. Indicates the font-face's loading status. It will be one of 'loading' 'loaded'.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close