call jQuery function after fonts are loaded.

前端 未结 3 1096
一生所求
一生所求 2021-01-02 12:35

I have multiple fonts in web site It loads very slowly,I have some jquery functionality I need to load them when the fonts are loaded.

I have tried to call it in

3条回答
  •  感情败类
    2021-01-02 13:19

    If you want to control the loading process of @font-faces use WebFont Loader, developed by Google and Typekit.

    https://developers.google.com/webfonts/docs/webfont_loader

提交回复
热议问题