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