且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

检测MathJax何时完成在UIWebView中的加载

更新时间:2023-02-06 15:07:56

在MathJax完成排版后,可以通过包含

You can cause a function to run after MathJax finishes typesetting by including

<script>
MathJax.Hub.Queue(function () {
  ... your code here...
});
</script>

在HTML文件中,该脚本位于加载MathJax.js本身的脚本之后.

in your HTML file after the script that loads MathJax.js itself.