Closed MSoup closed 1 year ago
class NumControl extends Rete.Control {
constructor(emitter, key, readonly) {
super(key);
and
var numControl = new NumControl();
You forgot your controller parameters, so the key parameter is missing in super() of NumControl.
Thank you for your response. I'm embarrassed to admit that I don't know what should be passed into "key".
I looked here and did a search for controls (https://rete.js.org/#/docs/controls#lang=en&tosearch=NumControl%20 ), but couldn't find an example.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.
Hi there, I'm having some difficulties getting set up. This seems like a really cool project, and I'd love to be able to play around with it.
I am encountering this error:
These are the steps to reproduce my error:
And I realized that I didn't define what NumControl was, so I did more digging through the documentation and came across this:
But throwing this on I realized that I need to define VueNumControl, so I did some more digging and found this
So now I think I have all the puzzle pieces to begin making nodes and putting them on the DOM. Forgive me if I'm asking a very basic question. It compiles successfully, but I get the above error which prevents the DOM from displaying any nodes to me.
Here is my full Vue.app
Any advice to set me on the right direction would be hugely appreciated. My apologies if I'm missing any important information.