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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.