Skip to main content

SplitButton

Function SplitButton 

Source
pub fn SplitButton<State, P, O>(
    label: impl Into<String>,
    open: bool,
    on_press: P,
    on_open: O,
) -> SplitButtonView<State>
where State: 'static, P: Fn(&mut State) + 'static, O: Fn(&mut State) + 'static,
Expand description

PascalCase alias for split_button, matching the catalog’s view-fn vocabulary.