-
|
Hi guys, I can't figure out this one so need your help. I have a .vue SFC widget and I have set up an event that it can emit. I can subscribe to this event on the python side but i can't seem to send a payload with the emitted event. Everything I try is blank on the pythn side. Is there a simple working example that shows me how t do this. The current example that is in cookiecutter bopiler plate code only c shoes emitting an event but with no payload from the compiled .vu component. so the example shows this
I assume I can do something like this on the python side I do this but & get the event but no payload I get this
I subscribe doing something like this |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
|
https://kitware.github.io/trame/guide/intro/getting_started.html#method-calls |
Beta Was this translation helpful? Give feedback.
-
my_widgets.MaskWidget(
imageUrl="https://picsum.photos/400/300",
click=(self.handle_click, "[$event]"),
) |
Beta Was this translation helpful? Give feedback.
super - thanks again for the help