Created
December 17, 2017 03:25
-
-
Save khoipro/63c9b00208948cc9a092d1dd78f72560 to your computer and use it in GitHub Desktop.
Typekit web font events
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
| <script src="https://use.typekit.net/xxxxxxx.js"></script> | |
| <script> | |
| try { | |
| Typekit.load({ | |
| loading: function() { | |
| // JavaScript to execute when fonts start loading | |
| }, | |
| active: function() { | |
| // JavaScript to execute when fonts become active | |
| }, | |
| inactive: function() { | |
| // JavaScript to execute when fonts become inactive | |
| } | |
| }) | |
| } catch(e) {} | |
| </script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment