Skip to content

What exactly trigger MermaidJS diagrams rendering ? #8000

Answered by kamilkrzyskow
Thiti517 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Thiti517,
please elaborate on the "render all content before generating the final document". Mermaid is mounted like the rest of the elements:

However, Mermaid is mounted in a closed ShadowRoot, so depending on how you detect that an element is available on the website, then the separate root layer might prevent that:

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Thiti517
Comment options

@kamilkrzyskow
Comment options

Answer selected by Thiti517
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants