Package-level declarations

Types

Link copied to clipboard

The alignment of the popover relative to the UI trigger.

Link copied to clipboard

The placement of the popover relative to the UI trigger, regardless if the popover has a caret tip or not. However, when using a caret tip, the trigger button and caret tip will be vertically centered with each other.

Functions

Link copied to clipboard
fun PopoverBox(isVisible: Boolean, modifier: Modifier = Modifier, alignment: PopoverAlignment = PopoverAlignment.Start, placement: PopoverPlacement = PopoverPlacement.Top, popoverMinWidth: Dp = Dp.Unspecified, popoverMaxWidth: Dp = Dp.Unspecified, popoverPopupProperties: PopupProperties = popoverDefaultProperties, onDismissRequest: () -> Unit? = null, popoverContent: @Composable BoxScope.() -> Unit, content: @Composable () -> Unit)

Composable wrapping a content (generally a ui trigger) to display a Popover without a tip when isVisible is true.