Skip to content
Seb edited this page Feb 5, 2015 · 4 revisions

Expose your events

The registry now listen to every snippet that contains //@biojs-instance=<variable> and display the event console on the first received event.

Have a look at the MSA component or Muts-Needle as an example.

Listen to events

objs.on("name", function(data) {

})

if you want to proxy events:

objs.onAll(function(evtName, data) {

})

learn more