[webkit-help] How to raise asynchronous events from C++ to JavaScript

Tim Mahoney tim.mahoney at me.com
Sat Jan 19 12:08:35 PST 2013


If JS calls "addEventListener", then eventually EventTarget::addEventListener will be called. I believe what you want to do is call EventTarget::dispatchEvent on the node in question. This should call any callbacks associated with the type of event you pass to it.
On Jan 19, 2013, at 12:00 PM, webkit-help-request at lists.webkit.org wrote:

> How to raise asynchronous events from C++ to
> 	JavaScript

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20130119/032f8247/attachment.html>


More information about the webkit-help mailing list