inline fun Style.onFullImpression(noinline onFullImpression: (FullImpressionVisibleEvent) -> Unit): Style

Registers a callback to be called when all parts of a Component have been made visible at some point, termed a "full impression". A full impression is defined as:

  • if the Component is smaller than the viewport, when the entire Component is visible

  • if the Component is bigger than the viewport, when all the edges have passed through the viewport once