ShoppableImageItem
data class ShoppableImageItem<T>(val key: T, @FloatRange(from = 0.0, to = 1.0) val xCoordinate: Float, @FloatRange(from = 0.0, to = 1.0) val yCoordinate: Float, val tagPosition: TagPosition = TagPosition.Vertical.TopCenter, val content: @Composable () -> Unit, val onClick: () -> Unit)
Shoppable image item data class
Constructors
Link copied to clipboard
constructor(key: T, @FloatRange(from = 0.0, to = 1.0) xCoordinate: Float, @FloatRange(from = 0.0, to = 1.0) yCoordinate: Float, tagPosition: TagPosition = TagPosition.Vertical.TopCenter, content: @Composable () -> Unit, onClick: () -> Unit)
Properties
Link copied to clipboard
Composable content for the product to display.
Link copied to clipboard
Alignment and position for the product tag showing the content.
Link copied to clipboard
X coordinate for dot placement as percentage.
Link copied to clipboard
Y coordinate for dot placement as percentage.