tooltip

abstract fun tooltip(modifier: Modifier, text: UiText, delayMillis: Long): Modifier(source)

Adds one profile-backed delayed tooltip behavior.


open fun tooltip(modifier: Modifier, text: UiText, decorated: Boolean, delayMillis: Long): Modifier(source)

Adds a text tooltip with an explicit standard-decoration policy.


open fun tooltip(modifier: Modifier, content: Element, decorated: Boolean, delayMillis: Long): Modifier(source)

Adds common retained tooltip behavior, optionally applying the standard surface and inset. The supplied immutable content is evaluated before this boundary and must not be invoked from paint.