Skip to main content

hook

Function hook 

Source
pub fn hook<'a>(
    app: &'a AppHandle,
    slider: &'a str,
) -> impl FnMut(&Change) -> Verdict + 'a
Expand description

A slider hook (Slider::on_change, RangeSlider::on_change) running each finished change as the slider.change step, the slider named slider in its arguments. A drag’s frames go through.