Skip to content

SSShooter/export-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@mind-elixir/export-image

Deprecated: Only work for Mind Elixir 1.x, use instance.exportPng() in 3.2.2+

Install

npm i @mind-elixir/export-image canvg

Usage

import exportImage from '@mind-elixir/export-image'

const mind = new MindElixir(options)
mind.install(exportImage)
const data = MindElixir.new('new topic')
mind.init(example)
mind.exportPng('file_name.png')
mind.exportSvg ('file_name.svg')

Thanks

canvg

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published