ContainerizedKontextMenuRepresentation

Default implementation of KontextMenuRepresentation that creates a basic popup for the context menu.

This implementation provides a simple popup container for the context menu content. It handles:

  • Displaying the popup when the context menu is open

  • Positioning the popup at the correct location

  • Providing an onDismiss request handler to close the menu

The actual content of the menu is provided by the caller through the menuContent parameter of Representation.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
@Composable
open override fun <T> Representation(state: ContextMenuState, menuContent: @Composable (items: List<T>, onDismissRequest: () -> Unit?) -> Unit, items: List<T>)

Creates a popup representation of the context menu.