Re: addEventListener on my own extension?

Boris Zbarsky <[email protected]>
Newsgroups gmane.comp.mozilla.devel.dom
Message-ID <[email protected]>
Simon wrote:
> Sorry, i have a spec question:
>  https://developer.mozilla.org/en/DOM/document.createEvent write that
> "TextEvent" is supported. You told me i can only access to nsI* files.
> So i look for something like nsIDOMTextEvent, but i found only
> nsDOMTextEvent and you are right, i can't include. So, which interface
> have i to include to get the TextEvent also in c++? I hope this isn't
> also a stupid question...

Only the code in createEvent itself needs to know about nsDOMTextEvent. 
  You get back an nsIDOMEvent.

-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.