Package-level declarations
Types
Link copied to clipboard
The visibility of a Component, mirroring View.VISIBLE and View.INVISIBLE.
Functions
Link copied to clipboard
fun Style.onFocusedVisible(visibleWidthRatio: Float = 0.0f, visibleHeightRatio: Float = 0.0f, callback: (FocusedVisibleEvent) -> Unit): Style
Registers a callback to be called when either the Component occupies at least half of the viewport, or, if the Component is smaller than half the viewport, when it is fully visible.
Link copied to clipboard
fun Style.onFullImpression(visibleWidthRatio: Float = 0.0f, visibleHeightRatio: Float = 0.0f, callback: (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:
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Defines the visibility of the Component. The value can be Visibility.Visible or Visibility.Invisible; the default is Visibility.Visible.