CamoTooltip
Shows text next to content on hover (after a delay), on keyboard focus, and on a long press on touch.
It never takes focus, and Esc hides it. On a disabled anchor it still shows on hover.
API
- Kotlin
- Dart
public fun CamoTooltip(
text: String,
modifier: Modifier = Modifier,
enabled: Boolean = true,
content: @Composable () -> Unit,
)
| Name | Type | Default |
|---|---|---|
text | String | required |
modifier | Modifier | Modifier |
enabled | Boolean | true |
content | @Composable () -> Unit | required |
Design notes
Why CamoTooltip works this way, its states and its edge cases: contributor docs.