Laurent wrote: > I actually use iUI for my mobile webapp, and I use "afterinsert" event > to add new actions (eval commented javascript for example). > I would like use the "sendEvent" function, but it's a private function > and I don't want to modify iui.js default file. > Is it possible ? Not currently. You could try moving the sendEvent function into the public section, but, of course, that is modifying iui.js. If you add a public sendEvent that calls the private one, you may be able to limit your mod to a couple of lines so it will be easy to merge with newer iUI versions.
If you open an Issue and request this feature and explain why you need it, you might be able to convince us to add a better hook in a future iUI. Sample code showing it in use would also be nice to see. -- Sean -- You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en.
