Skip to content

Is it possible to init more than one instance? #138

Answered by SSShooter
arnonrdp asked this question in Q&A
Discussion options

You must be logged in to vote
const map1 = new MindElixir(optionsA)
map1.init(data1)
const map2 = new MindElixir(optionsB)
map2.init(data2)
const map3 = new MindElixir(optionsC)
map3.init(data3)

change el in options to mount mindmap on different element

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@arnonrdp
Comment options

Answer selected by arnonrdp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants