From 25cd86feecaf99f355a353d34a3cc8d549110dd5 Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Sun, 11 Feb 2024 20:26:43 +0530 Subject: [PATCH] Fix docs --- docs/config/setup/interfaces/mermaidAPI.RenderResult.md | 9 --------- 1 file changed, 9 deletions(-) diff --git a/docs/config/setup/interfaces/mermaidAPI.RenderResult.md b/docs/config/setup/interfaces/mermaidAPI.RenderResult.md index c468df243..aebd88b23 100644 --- a/docs/config/setup/interfaces/mermaidAPI.RenderResult.md +++ b/docs/config/setup/interfaces/mermaidAPI.RenderResult.md @@ -14,15 +14,6 @@ • `Optional` **bindFunctions**: (`element`: `Element`) => `void` -Bind function to be called after the svg has been inserted into the DOM. -This is necessary for adding event listeners to the elements in the svg. - -```js -const { svg, bindFunctions } = mermaidAPI.render('id1', 'graph TD;A-->B'); -div.innerHTML = svg; -bindFunctions?.(div); // To call bindFunctions only if it's present. -``` - #### Type declaration ▸ (`element`): `void`