Merge branch 'sidv/fixRunAsync' of https://github.com/mermaid-js/mermaid into sidv/fixRunAsync

* 'sidv/fixRunAsync' of https://github.com/mermaid-js/mermaid:
  Update packages/mermaid/src/mermaid.ts
This commit is contained in:
Sidharth Vinod
2023-02-28 16:49:02 +05:30

View File

@@ -350,6 +350,9 @@ const parse = async (text: string, parseOptions?: ParseOptions): Promise<boolean
* bindFunctions?.(element); * bindFunctions?.(element);
* ``` * ```
* *
* @remarks
* Multiple calls to this function will be enqueued to run serially.
*
* @param id - The id for the SVG element (the element to be rendered) * @param id - The id for the SVG element (the element to be rendered)
* @param text - The text for the graph definition * @param text - The text for the graph definition
* @param container - HTML element where the svg will be inserted. (Is usually element with the .mermaid class) * @param container - HTML element where the svg will be inserted. (Is usually element with the .mermaid class)