Skip to main content

liquid_menu_trigger_input

Function liquid_menu_trigger_input 

Source
pub fn liquid_menu_trigger_input(
    modifier: Modifier,
    gesture: LiquidMenuGesture,
    on_open: impl Fn() + 'static,
) -> Modifier
Expand description

Attaches the shared menu-trigger gesture to ANY surface (the circular nav button, a filter pill, …): a tap opens the menu; a long press claims the gesture and opens it while the finger is still down, and the SAME stream then slides through the opened menu’s rows — keeps-open accordion rows included — committing on release.