Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to re-render and how to change theme dynamically ? #1544

Open
jerryc127 opened this issue Jul 15, 2020 · 0 comments
Open

how to re-render and how to change theme dynamically ? #1544

jerryc127 opened this issue Jul 15, 2020 · 0 comments

Comments

@jerryc127
Copy link

@jerryc127 jerryc127 commented Jul 15, 2020

Help us help you!

You want an answer. Here are some ways to get it quicker:

  • Use a clear and concise title.
  • Try to pose a clear and concise question.
  • Include as much, or as little, code as necessary.
  • Don't be shy to give us some screenshots, if it helps!

some element are hidden, and need to click the button to show this.
the website was load and all the element are render.
The element which are hidden render is not normal, need to re-render, how to solve?

image

how to change theme dynamically?
when i click the button and the website will switch the dark mode.
i need to change the mermaid to 'dark' theme quickly too.

  1. how to detect the js was loaded?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants