You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, is it possible to change the theme of sample dynamically (in JS). I have a theme toggler on my page therefore i'd like to also adjust the sample theme from idea to darcula. I've tried to just change the parameter manually but it doesn't seem to update anything (probably the change is not propagated)
Technically i could just render 2 versions and hide one but this results in super bad user experience
The text was updated successfully, but these errors were encountered:
Hi, @MarcinAman! Thank you for your feedback.
Unfortunately, now the widget does not support changing the theme dynamically. As a workaround, instead of render 2 versions, you can try to recreate the widget with new parameters.
Something like that:
Hi, is it possible to change the theme of sample dynamically (in JS). I have a theme toggler on my page therefore i'd like to also adjust the sample theme from
idea
todarcula
. I've tried to just change the parameter manually but it doesn't seem to update anything (probably the change is not propagated)Technically i could just render 2 versions and hide one but this results in super bad user experience
The text was updated successfully, but these errors were encountered: