Is it possible to get a reference to the underlying Stencil Web Component?

In my use case I need to find a way to be notified when a component has fully rendered so that I can get its size.

I came across this discussion in an issue thread:

It mentions that one should be able to use ViewChild to get a reference to the element and then call web component API methods. I am interested in componentOnReady() mentioned in the thread.

However, using ViewChild I am not seeing any methods resembling what’s mentioned in the stencil docs.

For example, if I wanted to get a reference to the underlying web component behind IonContent so I could call, for example, componentDidRender() or some such, how would I go about doing that?

Any help would be greatly appreciated.

Stackoverflow question here: