How to check if UI component has been rendered

We have a requirement to inject some CSS into some complex UI components. This can be done only after that component has been completely rendered to the browser.
Is there a way to know when the component has been rendered into the browser?

thanks
dheeraj

Anybody please?

This is surprising, no response at all?

Nobody?

Some parts of rendering might also be delayed on the browser (e.g. loading icons after the rest has been rendered), so to really make sure everything has been rendered, you should do some client side customization of your component(s) to send an event in a deferred command once other rendering has been completed, and then do the injection in a listener for that event on the server side.

On the other hand, if injecting general CSS styles and not by-component rules, you should also be able to do it before rendering is completed.