开发者

In Xul, how do I make a XPCOM component call a javascript function?

开发者 https://www.devze.com 2023-01-31 16:26 出处:网络
I want to implement a listener/observer开发者_JAVA百科 for my XPCOM component, so my javascript code can register to be notified of some events. Is it possible?If I understand you correctly https://de

I want to implement a listener/observer开发者_JAVA百科 for my XPCOM component, so my javascript code can register to be notified of some events. Is it possible?


If I understand you correctly https://developer.mozilla.org/en/Creating_JavaScript_callbacks_in_components might be just the thing you are looking for.

0

精彩评论

暂无评论...
验证码 换一张
取 消