[webkit-dev] XML Events in WebKit
mjs at apple.com
Sun Dec 9 01:39:39 PST 2007
On Dec 7, 2007, at 7:02 PM, Raj Kiran Talusani wrote:
> thanks very much for all the comments. let me be more specific about
> my problem.
> i want to add multimodal capabilities to the webkit. I want to
> trigger (or communicate with) an external app based on events
> happening in the xhtml document. Also i want to insert custom events
> into the XHTML context based on results from the external process.
> Is there any way i can do this with current version of webkit. any
> pointers on what needs to be done?
Are you working with the Mac OS X WebKit API? If so, you can use the
Objective-C DOM API to attach native event listeners, and to inject
from event listeners defined in script or using onxxx handlers. You
that dispatch custom events.
Which way works better will depend on the details of your application.
More information about the webkit-dev