[−][src]Function sauron::prelude::dom::on_scroll
pub fn on_scroll<F, MSG>(
f: F
) -> Attribute<&'static str, &'static str, AttributeValue, Event, MSG> where
F: Fn((i32, i32)) -> MSG + 'static,
MSG: 'static,
attach callback to the scroll event