MathJax: Hiding Mathjax loading process

旧城冷巷雨未停 提交于 2020-06-09 16:49:32

问题


I have Mathjax in my code that I show in UIWebView. while Mathjax is loading it shows the loading process n the left down corner of my UIWebView same as below pics, that i want to hide them. I do not want my user see them.

loading process

loading process

note: dummy solution is showing a fake "Loading" for some second that loading process finish and then show UIWebView. I really do not want to use this way.


回答1:


In your MathJax configuration, you can add this:

messageStyle: "none"

According to the documentation, this should do the trick: http://docs.mathjax.org/en/latest/options/hub.html




回答2:


Try this, it is working for me:

MathJax.Hub.Config({messageStyle: 'none',tex2jax: {preview: 'none'}});



回答3:


Also add showProcessingMessages: false.



来源:https://stackoverflow.com/questions/11372615/mathjax-hiding-mathjax-loading-process

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!