I found out how to get the JavaScript functions as a parameter to my callback function and call those functions from my C++ code.
I can pass a function like this.
mcrux.callMyJSFunction(function() {
alert( "my anonymous world!!");
});
and the passed function can be called by the backend Code :)
This will be a great step towards having callbacks registered for any of the event.
No comments:
Post a Comment