1

this is a general question. Is there any API, framework, library or pattern that allows me to create and handle events in JavaScript? I'm building a decision tree based in events and actions. Event aren't going to come just from the DOM but also from external devices as a kinect or some others sensors. I need to be able to dispatch an action when I track something in particular with the kinect, for exemple.

tul1
  • 412
  • 1
  • 6
  • 22

1 Answers1

2

Javascript supports this natively:

Creating and triggering events

Emil S. Jørgensen
  • 6,216
  • 1
  • 15
  • 28