Liking cljdoc? Tell your friends :D
ClojureScript only.

web.FontFaceSet

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.
raw docstring

checkcljs

(check this & args)

Method.

A web.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 `web.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`
sourceraw docstring

loadcljs

(load this & args)

Method.

A web.Promise of an web.Array of web.FontFace loaded. The is fulfilled when all the fonts are loaded; it is rejected if 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 `web.Promise` of an `web.Array` of `web.FontFace` loaded. The
is fulfilled when all the fonts are loaded; it is rejected if
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`
sourceraw docstring

readycljs

(ready this)

Property.

The ready readonly property of the web.FontFaceSet interface a web.Promise that resolves to the given web.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.FontFaceSet` interface
a `web.Promise` that resolves to the given `web.FontFaceSet`.

`fontFaceSet.ready.then(function(fontFaceSet) {
// ...
});`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/ready`
sourceraw docstring

set-ready!cljs

(set-ready! this val)

Property.

The ready readonly property of the web.FontFaceSet interface a web.Promise that resolves to the given web.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.FontFaceSet` interface
a `web.Promise` that resolves to the given `web.FontFaceSet`.

`fontFaceSet.ready.then(function(fontFaceSet) {
// ...
});`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/ready`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close