Re: addEventListener on my own extension?
Boris Zbarsky <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Message-ID | <[email protected]> |
Simon wrote: > I read that i have to implement the nsDOMEventTarget. But where do i > register the "onData" function? Can i reuse some existing code? I don't think you have to do any registration. As long as the object implements nsIDOMEventTarget, things should Just Work. -Boris