File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -34,8 +34,8 @@ Mind elixir is a free open source mind map core.
3434- Export as SVG or PNG
3535- Build-in drag and drop / node edit plugin
3636- Summarize nodes
37- - Undo / Redo
3837- Styling your node with CSS
38+ - Undo / Redo
3939- Efficient shortcuts
4040
4141<details >
@@ -53,7 +53,7 @@ Mind elixir is a free open source mind map core.
5353 - [ Data Export And Import] ( #data-export-and-import )
5454 - [ Operation Guards] ( #operation-guards )
5555- [ Export as a Image] ( #export-as-a-image )
56- - [ Methods ] ( #methods )
56+ - [ APIs ] ( #apis )
5757- [ Theme] ( #theme )
5858- [ Shortcuts] ( #shortcuts )
5959- [ Not only core] ( #not-only-core )
@@ -261,9 +261,11 @@ let mind = new MindElixir({
261261``` typescript
262262import { exportPng } from ' ./plugin/exportImage'
263263
264- const mind = {/** mind elixir instance */ }
264+ const mind = {
265+ /** mind elixir instance */
266+ }
265267const downloadPng = async () => {
266- const blob = await exportPng (mind ) // Get a Blob!
268+ const blob = await mind . exportPng () // Get a Blob!
267269 if (! blob ) return
268270 const url = URL .createObjectURL (blob )
269271 const a = document .createElement (' a' )
@@ -274,7 +276,7 @@ const downloadPng = async () => {
274276}
275277```
276278
277- ## Methods
279+ ## APIs
278280
279281https://github.com/ssshooter/mind-elixir-core/blob/master/api/mind-elixir.api.md
280282
You can’t perform that action at this time.
0 commit comments