How to check if all fonts are loaded with javascript

• 1 min read

Within modern browsers it wouldn’t be more easier than that:

document.fonts.ready.then(() => {
  // do something
})