Created
March 1, 2021 12:22
-
-
Save robozavri/329d4ca8fe19308fb32248458e0101bf to your computer and use it in GitHub Desktop.
#javascript #font-face-detect #fontdetect #detect
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.fonts.ready.then(function () { | |
// alert('All fonts in use by visible text have loaded.'); | |
alert('like-note-font loaded ?: ' + document.fonts.check('1em like-note-font')); // true | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment