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