mermaidInitNative function

  1. @JS('init')
void mermaidInitNative(
  1. Config? ingored,
  2. Object? selectorStringOrElementOrListOfElements
)

mermaid.init By default, mermaid.init will be called when the document is ready, finding all elements with class="mermaid". If you are adding content after mermaid is loaded, or otherwise need finer-grained control of this behavior, you can call init yourself with:

ingored a configuration object that is always ignored, use mermaidInitialize selectorStringOrElementOrListOfElements A W3C selector String, or an Element, or an List

Implementation

@JS('init')
external void mermaidInitNative(
    Config? ingored, Object? selectorStringOrElementOrListOfElements);