Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] committed Mar 5, 2024
1 parent 2c6d1cb commit 3147bb3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/config/setup/interfaces/mermaidAPI.RenderResult.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@

`Optional` **bindFunctions**: (`element`: `Element`) => `void`

#### Type declaration

▸ (`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.

Expand All @@ -27,6 +23,10 @@ div.innerHTML = svg;
bindFunctions?.(div); // To call bindFunctions only if it's present.
```
#### Type declaration
▸ (`element`): `void`
##### Parameters
| Name | Type |
Expand Down

0 comments on commit 3147bb3

Please sign in to comment.