Show/hide events on components

I need to react on the event when one specific AbstractComponent is shown in browser. But it seems that this event isn’t supported - I cannot find a possibility to register such a listener for this event.

As far as I know, JavaScript supports onshow events. How can I take advantage of this with Vaadin?

Ooooh, what a shame… Javascript doesn’t support it out of the box:
JS: event listener for when element becomes visible?

But there seem to be workarounds in order to “simulate” this capability. For instance, there exists this jQuery plugin:
jquery.appear

What do you think about it? Could Vaadin provide this feature in any form in future? In my opinion, it is a must have for UI frameworks. It is understood that you can listen for such events on UI components in Java Swing or JavaFX, for example.

On the client side, there’s the Attach event: http://www.gwtproject.org/javadoc/latest/com/google/gwt/event/logical/shared/AttachEvent.html

That’s not 100% equal to “when an element is shown in the browser”, but could be close enough?

-Olli