onVisible

inline fun Style.onVisible(noinline onVisible: (VisibleEvent) -> Unit): Style

Registers a callback to be called when any part of the Component becomes visible on screen.