Replies: 6 comments
-
Hi, when all triggers have the same params, they will be treated as single If you need separate triggers with the same event name, modify anything in params, for example set Max to 1, 2, 3 or change appearance |
Beta Was this translation helpful? Give feedback.
-
Thanks for the answer! In my case the triggers were different like key1Pressed, key2PPressed, etc. Is there a solution for that as well? |
Beta Was this translation helpful? Give feedback.
-
Share some screenshots, what you have at the moment and what do you want to achieve |
Beta Was this translation helpful? Give feedback.
-
Ideally the left and right should create the same triggers. IMO a combined trigger does not make sence since events are processed in a event queue so I assume there is no way that all 3 could get triggered simultaneously. Even better would be that you could write key$Pressed and set min=1 and max=3 and it would be translated to the correct scxml statment |
Beta Was this translation helpful? Give feedback.
-
We have special element called Trigger for handling such things machine_props.mp4P.S. But I would like also to show how I use such things in Scxml machine_props_2.mp4 |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot for the detailed explanation. I like that you can globally define triggers that is very useful. I admit your way of doing it is much more elegant!!! |
Beta Was this translation helpful? Give feedback.
-
It seems if you have a list of event desciptors e.g.
and you define a content trigger they both get converted into a single trigger instead of one trigger for each event name. Is there a workaround by predefining the content triggers?
Beta Was this translation helpful? Give feedback.
All reactions