MathJax.Hub.Queue problem with variable as a param

19 views
Skip to first unread message

krz....@gmail.com

unread,
May 30, 2016, 2:56:42 PM5/30/16
to MathJax Users
Hi!

I use a MathJax with VueJS and with a lot of situation I need rerender a MathJax element on my page.
I want to use a variable as a third param in MathJax.Hub.Queue() function, to rerender MathJax formula in my site, something like this:

var el = '.formula1'
MathJax.Hub.Queue(["Typeset", MathJax.Hub, el]);

Everything is ok, when I insert a string directly to function, but when I change the string on variable, something is wrong.. I don't understand it..

Could someone help me with this problem? :)


Peter Krautzberger

unread,
May 31, 2016, 9:45:21 AM5/31/16
to mathja...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "MathJax Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mathjax-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages