arapl3y / vue-blotter

Vue component for Blotter.js https://blotter.js.org
MIT License
18 stars 1 forks source link

can't figure out how to make the material channel split work #2

Open Melvax opened 3 years ago

Melvax commented 3 years ago

Hello, I have adapted your example to the material channel split into this codepen https://codesandbox.io/s/vue-blotter-tried-6j55v?file=/src/App.vue but I don't know how to make it work I have this error going : [Vue warn]: Error in mounted hook: "TypeError: undefined is not a constructor (evaluating 'new Blotter[t]()')

arapl3y commented 3 years ago

Hello Melvax,

I just tested material-type="ChannelSplitMaterial" which seems to work.

Sorry I probably should have been more explicit with how the materials are cased and named.

Let me know if you have any further problems.