Re: addEventListener on my own extension?

Boris Zbarsky <[email protected]>
Newsgroups gmane.comp.mozilla.devel.dom
Message-ID <[email protected]>
Simon wrote:
> I want use the
> nsEventDispatcher::CreateEvent(nsnull, nsnull, NS_LITERAL_STRING
> ("datacontainerevent"), dataEvent);
> function to get an event-instance.

You can't use that from outside Gecko code.  You can use the createEvent 
function on a Document, though...

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