diff --git a/README.md b/README.md index 336ab40..4db07f3 100644 --- a/README.md +++ b/README.md @@ -98,21 +98,21 @@ Add the following snippet to `gatsby-config.js` plugins array. mode - Can be set to `"async"` (default) or `"render-blocking"`. In `async` mode, fonts are loaded in optimal way, but FOUT is visible. In `render-blocking` mode FOUT will happen in rare cases, but the font files will become render-blocking. + Can be set to "async" (default) or "render-blocking". In async mode, fonts are loaded in optimal way, but FOUT is visible. In render-blocking mode FOUT will happen in rare cases, but the font files will become render-blocking. async enableListener - Works in `async` mode. Enable font loading listener to handle Flash Of Unstyled Text. If enabled, CSS classes will be applied to HTML once each font has finished loading. + Works in async mode. Enable font loading listener to handle Flash Of Unstyled Text. If enabled, CSS classes will be applied to HTML once each font has finished loading. false interval - Works if `enableListener` is `true`. Font listener interval (in ms). Default is 300ms. Recommended: >=300ms. + Works if enableListener is true. Font listener interval (in ms). Default is 300ms. Recommended: >=300ms. 300 timeout - Works if `enableListener` is `true`. Font listener timeout value (in ms). Default is 30s (30000ms). Listener will no longer check for loaded fonts after timeout, fonts will still be loaded and displayed, but without handling FOUT. + Works if enableListener is true. Font listener timeout value (in ms). Default is 30s (30000ms). Listener will no longer check for loaded fonts after timeout, fonts will still be loaded and displayed, but without handling FOUT. 30000