Re: DOMContentLoaded event from C++

YuLo <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xpfe
Message-ID <[email protected]>
понедельник, 1 октября 2012 г., 19:47:03 UTC+4 пользователь Neil написал:
> YuLo wrote:
> 
> 
> 
> >A question for nubie. What function will be fired on event. The second parameter for "AddEventListener" is "this". It is the pointer to class, not function.
> 
> >  
> 
> >
> 
> The second parameter is an type. This has a method 
> 
> called handleEvent (or HandleEvent in C++).
> 
> 
> 
> XPConnect magic allows script to pass a function instead of a class.
> 

Thank you Neil,
now i understand.
I implemented nsIDOMEventListener class and can catch events.
Thanks again!

_______________________________________________
dev-tech-xul mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xul
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.