Closed ghost closed 11 years ago
Interesting add. Could you checkout 1.3.0's event system - it does a different thing, but could be an option to 'trigger' an event as soon as a specific jsb-element was found and initialized. Maybe that solves your issue.
Maybe let's have a chat about that :-). After that I still can add this, I just want to avoid bloat :)
Please use jsb.on('Jsb::BEHAVIOURS_APPLIED', function() { /* do your logik */}
to handle the case, when all events got applied.
Available since 3ba7a975dd1e1b3ad8533343c503a68f12b50c13
the js-behaviour script now returns an array with objects. the returned objects have three properties: