You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that I could do CustomNode extends Components.Node and it does seem to work (as long as I cast CustomNode to any e.g. this.viewPlugin.components.node = CustomNode as any;) but I am not sure if this is what I should be doing since I had to cast it
Thanks in advance!
The text was updated successfully, but these errors were encountered:
I am new to VueJS so please forgive me if I am missing something obvious.
I was looking at the documentation for hardcore customization https://newcat.github.io/baklavajs/#/styling?id=hardcore-customization and was trying to implement a custom node in my own package. I am trying to extend the current node implementation https://github.com/newcat/baklavajs/blob/master/packages/baklavajs-plugin-renderer-vue/src/components/node/Node.vue.
I noticed that I could do
CustomNode extends Components.Node
and it does seem to work (as long as I castCustomNode
toany
e.g.this.viewPlugin.components.node = CustomNode as any;
) but I am not sure if this is what I should be doing since I had to cast itThanks in advance!
The text was updated successfully, but these errors were encountered: