onInvisible

inline fun Style.onInvisible(noinline onInvisible: (InvisibleEvent) -> Unit): Style

Registers a callback to be called when a Component becomes fully invisible (e.g. scrolled off or unmounted)