Package-level declarations
Types
Functions
For consistency on different platforms, if used with a padding modifier, use with Modifier.outerPadding and use after it, because the padding is not within the background. Otherwise, add an outer Box and use background on it.
For consistency on different platforms, components such as HorizontalScrollContainer, HorizontalScrollBox, HorizontalScrollRow are recommended over this modifier.
Delegates to clickable on Android. onClick is not available on Android. See https://github.com/JetBrains/compose-multiplatform/issues/4468 for details.
Note that if the component is a layout, for example a Material card, it applies to the target as a whole on Compose UI targets, but applies to its content on JS DOM. For consistency on different platforms, components such as VerticalScrollContainer, VerticalScrollBox, VerticalScrollColumn are recommended over this modifier.