1

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

1 Answer 1

1

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.